Description
On macOS 27 beta 2 (26A5368g) configure opencode 1.17.11 custom ACP agent in Xcode 27 beta 2 (27A5209h). Set up opencode with opencode.json specifying the model to be used served from LMStudio (same issue occurs with ollama).
When prompting from Xcode, opencode rather than using the specified model and LMStudio (or ollama) it always uses big-pickle. opencode never connects to LMStudio or ollama.
Plugins
None
OpenCode version
1.17.13
Steps to reproduce
- configure opencode 1.17.13 on macOS 27. Set up opencode.json to connect to LMStudio/ollama with the model to be used.
- run opencode cli and in the TUI select the model to be used (if not already selected). It seems that it needs to be running in order to be used by Xcode.
- configure Xcode 27 beta custom agents to use opencode in Xcode Settings > Intelligence > Add an Agent…
- In Xcode enter a prompt and check opencode logs located at
~/.local/share/opencode/log/opencode.log notice that the the session and subsequent messages are for model.id=big-pickle model.providerID=opencode
- It seems that opencode ACP never reads the opencode.json configuration. Also there is no way to pass arguments to specify the provider and/or the model to be used.
Screenshot and/or share link
No response
Operating System
macOS 27 beta 2 (26A5368g)
Terminal
macOS Terminal.app
Regression
Might be related to: #13644
*edited version number as it reproduces in 1.17.13
Description
On macOS 27 beta 2 (26A5368g) configure opencode 1.17.11 custom ACP agent in Xcode 27 beta 2 (27A5209h). Set up opencode with opencode.json specifying the model to be used served from LMStudio (same issue occurs with ollama).
When prompting from Xcode, opencode rather than using the specified model and LMStudio (or ollama) it always uses big-pickle. opencode never connects to LMStudio or ollama.
Plugins
None
OpenCode version
1.17.13
Steps to reproduce
~/.local/share/opencode/log/opencode.lognotice that the the session and subsequent messages are formodel.id=big-pickle model.providerID=opencodeScreenshot and/or share link
No response
Operating System
macOS 27 beta 2 (26A5368g)
Terminal
macOS Terminal.app
Regression
Might be related to: #13644
*edited version number as it reproduces in 1.17.13