Description
I use OpenAI as provider with Codex 5.2 Xhigh as the model. My AGENTS.md has explicit instructions to make agents use Tasks/Subagents as often as possible. My subagents are frequently getting stuck (this time after a message talks about 'invalid session ID'), and then the session hangs forever because there is no automatic timeout/retry.
Plugins
None
OpenCode version
1.1.48
Steps to reproduce
- Just use Codex + OpenAI a lot with explicit instructions in AGENTS.md to use Tasks/Subagents liberally
- Eventually, a subagent gets stuck and the session hangs forever because apparently there is not timeout/retry
Screenshot and/or share link
Operating System
Fedora 43 Silverblue
Terminal
GNOME Terminal (Ptyxis)