opencode icon indicating copy to clipboard operation
opencode copied to clipboard

fix: stop changing main model/agent from subtasks invocation

Open dbpolito opened this issue 4 days ago • 6 comments

What does this PR do?

Currently /review, even having in the prompt to not make changes, very often it decides to go ahead and do the changes.

image

This PR changes to use plan agent.

Also, i noticed that currently even with subtasks, when you run a command with a different agent, it's changing the main session agent to that, this PR also fixes it.

How did you verify your code works?

image

dbpolito avatar Jan 10 '26 18:01 dbpolito