main agent hangs because of subagent (explore) #6547

Open
opened 2026-02-16 18:04:34 -05:00 by yindo · 4 comments
Owner

Originally created by @felixzsh on GitHub (Jan 16, 2026).

Originally assigned to: @rekram1-node on GitHub.

Description

So, this has happened to me quite a few times. I send some prompt to the TUI, it seems to be working but it never responds. Then, when exploring the subagents, I found that my message has already been answered in a subagent, There i see the response i would expect in the main session, but that never happened(it just hangs for minutes, the waiting never ends). Am I doing something wrong or is this a known issue?

what i usually do here is just interrupt with esc to be able to continue with the session

Plugins

No response

OpenCode version

1.1.22

Steps to reproduce

No response

Screenshot and/or share link

https://github.com/user-attachments/assets/7e86e13f-75c4-40a8-924a-2202c8f2a3d6

Operating System

omarchy

Terminal

ghostty

Originally created by @felixzsh on GitHub (Jan 16, 2026). Originally assigned to: @rekram1-node on GitHub. ### Description So, this has happened to me quite a few times. I send some prompt to the TUI, it seems to be working but it never responds. Then, when exploring the subagents, I found that my message has already been answered in a subagent, There i see the response i would expect in the main session, but that never happened(it just hangs for minutes, the waiting never ends). Am I doing something wrong or is this a known issue? what i usually do here is just interrupt with esc to be able to continue with the session ### Plugins _No response_ ### OpenCode version 1.1.22 ### Steps to reproduce _No response_ ### Screenshot and/or share link https://github.com/user-attachments/assets/7e86e13f-75c4-40a8-924a-2202c8f2a3d6 ### Operating System omarchy ### Terminal ghostty
Author
Owner

@github-actions[bot] commented on GitHub (Jan 16, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #4422: Primary agent responds in subagent view; delegated subagent views become inaccessible - describes situations where the main/primary agent doesn't respond properly when interacting with subagents
  • #4073: Hanging During Agent Tasks - reports similar hanging behavior during agent task execution that requires ESC to interrupt
  • #8229: TUI stops responding to user input after first prompt - describes unresponsive TUI that stops accepting input

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Jan 16, 2026): This issue might be a duplicate of existing issues. Please check: - #4422: Primary agent responds in subagent view; delegated subagent views become inaccessible - describes situations where the main/primary agent doesn't respond properly when interacting with subagents - #4073: Hanging During Agent Tasks - reports similar hanging behavior during agent task execution that requires ESC to interrupt - #8229: TUI stops responding to user input after first prompt - describes unresponsive TUI that stops accepting input Feel free to ignore if none of these address your specific case.
Author
Owner

@felixzsh commented on GitHub (Jan 16, 2026):

btw my question in the prompt is about another bug im about to create a pr for :P

@felixzsh commented on GitHub (Jan 16, 2026): btw my question in the prompt is about another bug im about to create a pr for :P
Author
Owner

@felixzsh commented on GitHub (Jan 16, 2026):

now i see this is kinda known, i still see this case a bit specific since it seems that for me case i just need the subagent response to be propagated or something to the main session

@felixzsh commented on GitHub (Jan 16, 2026): now i see this is kinda known, i still see this case a bit specific since it seems that for me case i just need the subagent response to be propagated or something to the main session
Author
Owner

@rekram1-node commented on GitHub (Jan 16, 2026):

Yeah so for this glm models and Zai are really really overloaded rn so they get so much traffic that responses may take quite some time.

The free glm uses zai right now, and since they are having capacity issues, so is this one

@rekram1-node commented on GitHub (Jan 16, 2026): Yeah so for this glm models and Zai are really really overloaded rn so they get so much traffic that responses may take quite some time. The free glm uses zai right now, and since they are having capacity issues, so is this one
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#6547