[PR #5726] fix: restore session agent and model on subtask return #11550

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

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

State: closed
Merged: No


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.

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/5726 **State:** closed **Merged:** No --- 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.
yindo added the pull-request label 2026-02-16 18:16:24 -05:00
yindo closed this issue 2026-02-16 18:16:24 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#11550