GeezerVison is showing github.com — Model switches back to the original selection after prompting · Issue #4281 · anomalyco/opencode
Model switches back to the original selection after prompting #4281Labels bugSomething isn't workingopentuiThis relates to changes in v1.0, now that opencode uses opentui DescriptionDescription
if you start Opencode with a specific model set as a default (in my case - Anthropic Claude Sonnet 4.5), then during session you switch to another model (in my case - Bedrock Claude Sonnet 4.5), after the model finished working on the prompt and you try prompting again - the model will switch back to the original (default) selection. This was not the case before
Note In my case, I also notice that I can't prompt anymore during that session anymore. My prompts just don't trigger anything
However I left this out because I've currently hit my limit on Claude MAX account so I could blame this bug to the way
OpenCode handles Claude MAX limits (I think it doesn't, KEKW)
OpenCode version
1.0.61
Steps to reproduce
- Open the TUI with
Anthropic Claude Sonnet 4.5 selected
- Switch the model using
<leader> + m keybind to Bedrock Claude Sonnet 4.5
- Prompt
- Prompt again
- (Hopefully) Notice the model being switched back.
Screenshot and/or share link
https://opencode.ai/s/52SxnB2F
Operating System
Arch Linux (6.17.7-arch1-1) with Hyprland
Terminal
Kitty terminal + zsh Activitygithub-actions commented on Nov 13, 2025 This issue might be a duplicate of existing issues. Please check:
Feel free to ignore if none of these address your specific case. rekram1-node commented on Nov 13, 2025 /oc can u figure out what's causing this bug opencode-agent commented on Nov 13, 2025 rekram1-node commented on Nov 18, 2025 Hm I can't replicate think this was fixed AdiKsOnDev commented on Nov 18, 2025
Hm I can't replicate think this was fixed
Haven't faced this issue since last couple updates too, so perhaps. I'll lyk if it happens again, thanks 4 attention dekoza commented on Jan 20, 2026 Current OpenCode (1.1.25) changes model after entering the first prompt after launching. I have Copilot connected and the starting box shows the last model I worked with (say GPT 5.2). After I enter any prompt the model changes to Gemini 3 Pro Preview from Copilot. This is super-annoying as I cannot change this behavior in any way. Pre-selecting other model does nothing. ebreen commented on Jan 21, 2026
Current OpenCode (1.1.25) changes model after entering the first prompt after launching. I have Copilot connected and the starting box shows the last model I worked with (say GPT 5.2). After I enter any prompt the model changes to Gemini 3 Pro Preview from Copilot. This is super-annoying as I cannot change this behavior in any way. Pre-selecting other model does nothing.
im having this same exact issue, but instead the model always changes to Claude Opus 4.5. So annoying. iam-brain commented on Jan 21, 2026 I'm having this issue in 1.1.26 as well. It will default to a seemingly random model, Gemini 3 Pro in this instance, and changing the model to anything else will apply on a new session. I hate to enter the first prompt, interrupt, change the model, and then redo the initial message. rekram1-node commented on Jan 21, 2026 Are any of you using plugins? Because if so I think your plugin is changing it in some way... iam-brain commented on Jan 21, 2026 rekram1-node commented on Jan 21, 2026 rekram1-node commented on Jan 21, 2026 How about the rest of you? ebreen commented on Jan 22, 2026
How about the rest of you?
Can confirm it was the Superpowers skill that caused this issue for me.
Fixed after uninstalling Superpowers. iam-brain commented on Jan 22, 2026 Unfortunately, uninstalling superpowers seems to have fixed it for me as well. Looks like there might not be a good fix for it at the moment. koosty commented on Jan 24, 2026 Update superpowers
cd ~/.config/opencode/superpowers
git pull
Reacted by golamt313, iam-brain and Aleksandar Mitic golamt313 commented on Jan 29, 2026
Update superpowers
cd ~/.config/opencode/superpowers
git pull
This did it for me. Also make sure to also replace ~/.config/opencode/plugin/superpowers.js with ~/.config/opencode/superpowers/.opencode/plugins/superpowers.js. Otherwise you will black screen. iam-brain commented on Jan 30, 2026
Update superpowers
cd ~/.config/opencode/superpowers
git pull
I can also confirm that Obra has finally fixed the issue since that comment was posted. Reacted by Aleksandar Mitic and Morgan Kesler
MetadataMetadatabugSomething isn't workingopentuiThis relates to changes in v1.0, now that opencode uses opentui DevelopmentNo branches or pull requestsIssue actions
|