tab key no longer toggles plan/build mode #759

Closed
opened 2026-02-16 17:28:09 -05:00 by yindo · 8 comments
Owner

Originally created by @simon-marcus on GitHub (Jul 16, 2025).

Originally assigned to: @adamdotdevin on GitHub.

After update to v0.3.13 the tab key no longer toggles PLAN or BUILD modes. If you switch models, it seems to cycle between the two most recent models. E.g. Anthropic Claude Sonnet 4 <--> Anthropic Claude Opus 4.

Originally created by @simon-marcus on GitHub (Jul 16, 2025). Originally assigned to: @adamdotdevin on GitHub. After update to `v0.3.13` the `tab` key no longer toggles PLAN or BUILD modes. If you switch models, it seems to cycle between the two most recent models. E.g. Anthropic Claude Sonnet 4 <--> Anthropic Claude Opus 4.
yindo closed this issue 2026-02-16 17:28:09 -05:00
Author
Owner

@thdxr commented on GitHub (Jul 16, 2025):

seems to still work for me

@thdxr commented on GitHub (Jul 16, 2025): seems to still work for me
Author
Owner

@thdxr commented on GitHub (Jul 16, 2025):

do you have any special config?

@thdxr commented on GitHub (Jul 16, 2025): do you have any special config?
Author
Owner

@simon-marcus commented on GitHub (Jul 16, 2025):

Should have known you'd be on top of this in lightning speed, Dax—you've been killing it with these updates.

As for this one, I apologize for the thin details in my initial issue. I just confirmed that tab seems still to work in iTerm2, but broke in my usual terminal (inside VS Code). Both use zsh shell in Mac.

iTerm - works
https://github.com/user-attachments/assets/fac71386-592e-45a5-a62c-31ff690d1371

VSCode - seems to change BOTH model and mode at same time now?
https://github.com/user-attachments/assets/4598ce69-9ace-4cec-8446-e55fc44db539

My config is pretty vanilla, just one MCP right now.
Here's the config.json

{
    "$schema": "https://opencode.ai/config.json",
    "mcp": {
        "context7": {
            "type": "local",
            "command": [
                "npx",
                "-y",
                "@upstash/context7-mcp"
            ],
            "enabled": true
        }
    }
}
@simon-marcus commented on GitHub (Jul 16, 2025): Should have known you'd be on top of this in lightning speed, Dax—you've been killing it with these updates. As for this one, I apologize for the thin details in my initial issue. I just confirmed that tab seems still to work in iTerm2, but broke in my usual terminal (inside VS Code). Both use zsh shell in Mac. iTerm - works https://github.com/user-attachments/assets/fac71386-592e-45a5-a62c-31ff690d1371 VSCode - seems to change BOTH model and mode at same time now? https://github.com/user-attachments/assets/4598ce69-9ace-4cec-8446-e55fc44db539 My config is pretty vanilla, just one MCP right now. Here's the config.json ```json { "$schema": "https://opencode.ai/config.json", "mcp": { "context7": { "type": "local", "command": [ "npx", "-y", "@upstash/context7-mcp" ], "enabled": true } } } ```
Author
Owner

@rekram1-node commented on GitHub (Aug 29, 2025):

@simon-marcus the tab switching model & agent is expected unless you have a specific model hardcoded for an agent, it defaults to last used for that agent otherwise

@rekram1-node commented on GitHub (Aug 29, 2025): @simon-marcus the tab switching model & agent is expected unless you have a specific model hardcoded for an agent, it defaults to last used for that agent otherwise
Author
Owner

@berenar commented on GitHub (Oct 23, 2025):

I had this issue, I could not switch away from Build primary agent. The reason was that I created a custom Plan agent. Once I deleted that, it started working again.

@berenar commented on GitHub (Oct 23, 2025): I had this issue, I could not switch away from Build primary agent. The reason was that I created a custom Plan agent. Once I deleted that, it started working again.
Author
Owner

@rekram1-node commented on GitHub (Dec 18, 2025):

@tom-knight-ai what version are u on? Did u set custom bindings?

@rekram1-node commented on GitHub (Dec 18, 2025): @tom-knight-ai what version are u on? Did u set custom bindings?
Author
Owner

@tom-knight-ai commented on GitHub (Dec 18, 2025):

@rekram1-node Please ignore my comment from ~60 minutes ago, which I just deleted. I was using OpenCode and the GitHub MCP to read and comment on item #1063 in my private GitHub repo, but OpenCode wrote the comment to item #1063 in this public GitHub repo instead. Sorry for my mistake. I will be more explicit in my OpenCode prompts in the future, so OpenCode reads and writes using the correct repo. [And thanks for contributing to this fantastic open source project!]

@tom-knight-ai commented on GitHub (Dec 18, 2025): @rekram1-node Please ignore my comment from ~60 minutes ago, which I just deleted. I was using OpenCode and the GitHub MCP to read and comment on item #1063 **in my private GitHub repo**, but OpenCode wrote the comment to item #1063 in this public GitHub repo instead. Sorry for my mistake. I will be more explicit in my OpenCode prompts in the future, so OpenCode reads and writes using the correct repo. [And thanks for contributing to this fantastic open source project!]
Author
Owner

@rekram1-node commented on GitHub (Dec 18, 2025):

Haha no problem

@rekram1-node commented on GitHub (Dec 18, 2025): Haha no problem
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#759