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
Model switch automatically when changing the mode #1661
When switch the mode from PLAN to BUILD or BUILD to PLAN just after launching the opencode, selected model changes to something else.
it's not a big issue until unless you have type something first and switch the mode. you can change the model easily with /models but if you have type something already and then /model is not working anymore and cannot switch the models
just fyi the model selection is tied to agent so when you switch agents it will switch to last used model for that agent (if the agent doesn’t have specified one)
Activity
anuramat commentedon Sep 8, 2025
fyi you can use
ctrl-x mto open the menurekram1-node commentedon Sep 13, 2025
just fyi the model selection is tied to agent so when you switch agents it will switch to last used model for that agent (if the agent doesn’t have specified one)
arsham commentedon Sep 13, 2025
You can also hit
F2to cycle through the recently used models.oribarilan commentedon Oct 30, 2025
issue is kind of partially described, but this is possibly solved by #3572
rekram1-node commentedon Oct 30, 2025
this is fixed in the opentui version that will ship soon, but until then u can set:
OPENCODE_AGENTS_SWITCH_SINGLE_MODEL=true
onlyargon commentedon Jan 27, 2026
This is no longer happening and resolved long go. Closing now