You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ACP sessions ignore model selection from Intent (and other ACP clients) #13644
When using Opencode via ACP (Agent Client Protocol) with Intent (or potentially other ACP clients), the model selected in the client is not properly applied to the session. Instead, Opencode defaults to big-pickle.
Expected behavior:
The message should be processed using the model selected in Intent (e.g., kimi-k2.5-free)
Actual behavior:
The message is processed using big-pickle (the default model)
However, the agent context in the system prompt correctly shows the selected model
But message record shows: "model":{"providerID":"opencode","modelID":"big-pickle"}
Potential root cause:
Looking at packages/opencode/src/acp/session.ts, the create() method doesn't properly handle the model parameter when passed by ACP clients. The fix in PR #9829 addressed loading existing sessions, but not creating new sessions with a specific model.
This confirms the bug is consistent - the agent context correctly displays the selected model, but Opencode internally processes messages with the wrong model.
I'm still seeing this issue in OpenCode 1.17.11 with Xcode 27 beta 2 as the ACP client. It always defaults to big-pickle in create: model.id=big-pickle model.providerID=opencode.
Is there any workaround?
Activity
AlexisGrrd commentedon Feb 14, 2026
Additional evidence captured (Feb 14, 2026):
"Selected Model": "opencode:opencode/kimi-k2.5-free"✅"model":{"providerID":"opencode","modelID":"big-pickle"}❌This confirms the bug is consistent - the agent context correctly displays the selected model, but Opencode internally processes messages with the wrong model.
marcdeop commentedon Feb 16, 2026
I am also facing this problem when attempting to integrate with codecompanion
I have a custom config on opencode.json
I always get this in the debug output:
currentModelId = "opencode/big-pickle"and when asking the agent itself:
AlexisGrrd commentedon Feb 16, 2026
Linking this for potential further investigations
AlexisGrrd commentedon Feb 18, 2026
Did you find a workaround @marcdeop ? This is breaking my workflow
AlexisGrrd commentedon Feb 23, 2026
Fixed by AugmentCode team
velouria commentedon Jun 30, 2026
I'm still seeing this issue in OpenCode 1.17.11 with Xcode 27 beta 2 as the ACP client. It always defaults to big-pickle in create: model.id=big-pickle model.providerID=opencode.
Is there any workaround?