opencode icon indicating copy to clipboard operation
opencode copied to clipboard

main agent never responds and indefinitely hangs

Open felixzsh opened this issue 1 month ago • 4 comments

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

felixzsh avatar Jan 17 '26 01:01 felixzsh

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] avatar Jan 17 '26 01:01 github-actions[bot]

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

felixzsh avatar Jan 17 '26 01:01 felixzsh

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 avatar Jan 17 '26 01:01 felixzsh

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 avatar Jan 17 '26 01:01 rekram1-node