opencode icon indicating copy to clipboard operation
opencode copied to clipboard

feat: switch mode tool

Open Leka74 opened this issue 3 days ago • 4 comments

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

Leka74 avatar Jan 10 '26 11:01 Leka74