[PR #7626] feat: switch mode tool #12459

Closed
opened 2026-02-16 18:17:22 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/7626

State: closed
Merged: No


What does this PR do?

Adds a new modeswitch tool which allows the LLM to request the mode to be changed. So instead of the user having to switch to the build mode manually and ask the LLM to continue with the implementation, the LLM will request that itself and if approved, it will start implementing the plan.

image image

How did you verify your code works?

Tested it locally through the TUI and Desktop app.

Closes https://github.com/anomalyco/opencode/issues/7627

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/7626 **State:** closed **Merged:** No --- ### What does this PR do? Adds a new `modeswitch` tool which allows the LLM to request the mode to be changed. So instead of the user having to switch to the build mode manually and ask the LLM to continue with the implementation, the LLM will request that itself and if approved, it will start implementing the plan. <img width="1538" height="975" alt="image" src="https://github.com/user-attachments/assets/1726b78d-ab63-4beb-95a3-3e559f907866" /> <img width="1574" height="1041" alt="image" src="https://github.com/user-attachments/assets/81edcf2e-9897-4c39-93d2-a102e3dd70b0" /> ### How did you verify your code works? Tested it locally through the TUI and Desktop app. Closes https://github.com/anomalyco/opencode/issues/7627
yindo added the pull-request label 2026-02-16 18:17:22 -05:00
yindo closed this issue 2026-02-16 18:17:22 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#12459