[FEATURE]: Switch to selected agent when queueing message #2209

Closed
opened 2026-02-16 17:34:40 -05:00 by yindo · 5 comments
Owner

Originally created by @PanAchy on GitHub (Oct 21, 2025).

Originally assigned to: @rekram1-node on GitHub.

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

When set to Plan mode, and Opencode is actively working through the Plan Agent, if the user presses tab to switch to Build Agent and queues up a message, the message is queued up for the Plan Agent. This feels counterintuitive and could be improved by queueing the message based on the selected agent.

The current behavior may be a design decision, or not. I wanna make sure I ask since I've been enjoying OpenCode and wanna contribute at least in this way :)

Originally created by @PanAchy on GitHub (Oct 21, 2025). Originally assigned to: @rekram1-node on GitHub. ### Feature hasn't been suggested before. - [x] I have verified this feature I'm about to request hasn't been suggested before. ### Describe the enhancement you want to request When set to Plan mode, and Opencode is actively working through the Plan Agent, if the user presses tab to switch to Build Agent and queues up a message, the message is queued up for the Plan Agent. This feels counterintuitive and could be improved by queueing the message based on the selected agent. The current behavior may be a design decision, or not. I wanna make sure I ask since I've been enjoying OpenCode and wanna contribute at least in this way :)
yindo added the discussion label 2026-02-16 17:34:40 -05:00
yindo closed this issue 2026-02-16 17:34:40 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Oct 21, 2025):

This issue might be a duplicate of existing issues. Please check:

  • #1812: Feature request: Agent mode per session - discusses similar concerns about agent mode confusion when switching sessions, suggesting that agent modes should stick to sessions to avoid accidentally switching from planning to build mode
  • #1063: tab key no longer toggles plan/build mode - reports issues with tab key functionality for switching between PLAN and BUILD modes
  • #3241: Opencode stuck in Plan mode - reports problems with agent mode switching via tab key, including inability to switch back from Plan mode

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Oct 21, 2025): This issue might be a duplicate of existing issues. Please check: - #1812: Feature request: Agent mode per session - discusses similar concerns about agent mode confusion when switching sessions, suggesting that agent modes should stick to sessions to avoid accidentally switching from planning to build mode - #1063: tab key no longer toggles plan/build mode - reports issues with tab key functionality for switching between PLAN and BUILD modes - #3241: Opencode stuck in Plan mode - reports problems with agent mode switching via tab key, including inability to switch back from Plan mode Feel free to ignore if none of these address your specific case.
Author
Owner

@rekram1-node commented on GitHub (Oct 21, 2025):

yeah I think that makes sense

@rekram1-node commented on GitHub (Oct 21, 2025): yeah I think that makes sense
Author
Owner

@ferdinandyb commented on GitHub (Nov 10, 2025):

Agent is better at searching for duplicates than I am.

@ferdinandyb commented on GitHub (Nov 10, 2025): Agent is better at searching for duplicates than I am.
Author
Owner

@ferdinandyb commented on GitHub (Nov 10, 2025):

On the other hand I would definitely classify this as a bug.

@ferdinandyb commented on GitHub (Nov 10, 2025): On the other hand I would definitely classify this as a bug.
Author
Owner

@rekram1-node commented on GitHub (Nov 17, 2025):

fixed by: https://github.com/sst/opencode/commit/a1214fff2eaa71b3346f53580e6e94376ac9050d

going to release soon

@rekram1-node commented on GitHub (Nov 17, 2025): fixed by: https://github.com/sst/opencode/commit/a1214fff2eaa71b3346f53580e6e94376ac9050d going to release soon
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#2209