opencode icon indicating copy to clipboard operation
opencode copied to clipboard

fix: restore session agent and model on subtask return

Open spoons-and-mirrors opened this issue 1 month ago • 1 comments

Problem: When using a subtask command, the session continues with the subtask's agent and model after it completes instead of returning to the original agent and model.

Solution: Restore the original agent and model when returning from a subtask.

spoons-and-mirrors avatar Dec 18 '25 05:12 spoons-and-mirrors

Adding core fix Resolves https://github.com/sst/opencode/issues/4901

spoons-and-mirrors avatar Dec 18 '25 13:12 spoons-and-mirrors