You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A model can send the calling session ID in subagent.sessionID while it is requesting a new delegation. The continuation path treats that ID as an existing session and rejects it because a session is not its own child.
Plugins
None
OpenCode version
V2
Steps to reproduce
Start a session.
Call subagent with a valid subagent agent, prompt, and description, but set sessionID to the calling session ID.
The call fails with Session <id> is not a child of the current session instead of creating a child session.
Activity
github-actions commentedon Aug 26, 2026
This issue might be a duplicate of existing issues. Please check:
mjnaderi commentedon Aug 27, 2026
Found the cause. In my setup,
strictfield was missing from tool functions. I addedstrict: falseand the issue was resolved.