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 selection is "lost" on continuation and Agent selection is "lost" on compaction #8349
Okay, so the screenshot in this case is about the model selection. So basically, I think I started the chat with Opus 4.5. Then I ran out of my OpenCodeStandQuota, so I changed to GPT, right? Okay, all good. But then when GPT ends its turn and it has some to-dos, Opus 4.5.0, my OpenCode triggers some kind of auto-prompt and that auto-prompt seems to be switching back the model to the model that was before. I don't know at this point, unfortunately, if it's an Opus 4.5.0, my OpenCode.0 thing that it will switch to the model or if it's an OpenCode.0. But yeah, I'm reporting it just in case.
Sorry for the ramblings and the typos, my hand is a bit fucked up and I'm using speech-to-text.
Then for the compaction issue, I think it's much simpler to reproduce. So basically you have to be in plan mode, then run into compaction, and after compaction, even if the UI claims to be still in plan mode, if you ask the agent to do some non-plan-mode action like write files or whatever, it will do it and it will not claim that it has read-only permissions or similar.
Plugins
And the gravity out of my open code, a custom plugin to just to insert the model name as a synthetic message and not a lot more than that, honestly.
Activity
github-actions commentedon Jan 14, 2026
This issue might be a duplicate of existing issues. Please check:
Feel free to ignore if none of these address your specific case.
6 remaining items
thdxr commentedon Mar 25, 2026
To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.