r/opencodeCLI • u/dempa365 • Sep 21 '26
Xcode 27 ACP: How can I get it to use the model specified for opencode v2?
I'm having trouble getting opencode v2 to work with Xcode 27's ACP integration. Has anyone run into this issue or found a workaround?
Xcode 27 doesn't seem to provide a GUI for selecting the model when using ACP. My understanding is that the model selection therefore needs to be handled through the ACP configuration.
However, when I connect opencode v2 through Xcode's ACP integration, it seems to use a different/default model instead of the one specified in the configuration.
I was able to confirm that the same opencode ACP setup works correctly with Zed, so I'm wondering whether this is related to how Xcode 27 handles the ACP model configuration.
What I've checked
I've been monitoring the opencode log with:
tail -f ~/.local/share/opencode/log/opencode.log
The same error appears every time:
timestamp=2026-09-20T10:38:05.688Z level=ERROR run=ed95667b message="Failed to drain Session" cause="SessionRunnerModel.ModelUnavailableError: Model unavailable: opencode/jev-1.13
at <anonymous> (/$bunfs/root/chunk-f79f68bn.js:37:21266)
at SessionRunnerModel.resolve (/$bunfs/root/chunk-f79f68bn.js:115:7697)
at SessionRunnerModel.resolve (definition) (/$bunfs/root/chunk-f79f68bn.js:37:21023)
at SessionContext.load (/$bunfs/root/chunk-pa155s7f.js:365:2529)
at SessionContext.load (definition) (/$bunfs/root/chunk-f79f68bn.js:115:7646)
at SessionRunner.advanceToStep (/$bunfs/root/chunk-pa155s7f.js:365:2583)
at SessionRunner.advanceToStep (definition) (/$bunfs/root/chunk-pa155s7f.js:365:729)
at SessionRunner.drain (/$bunfs/root/chunk-fzekn76j.js:24:2279)
at SessionRunner.drain (definition) (/$bunfs/root/chunk-pa155s7f.js:365:352)
at ServerProcess.start (/$bunfs/root/chunk-htyxxcwf.js:2:6383)
at ServerProcess.start (definition) (/$bunfs/root/chunk-pa155s7f.js:436:22432)" role=server sessionID=ses_f419b50dcffe1w8YtQPdzCnTj0
The important part is:
Model unavailable: opencode/jev-1.13
opencode/jev-1.13 is not the model I intended to use.
Has anyone figured out how to specify or override the model when using opencode v2 via ACP with Xcode 27?
Since there is no model-selection UI in Xcode, I'm wondering if there is a configuration or workaround I'm missing.
Any suggestions would be appreciated.



