Description
When using the TUI, if the model encounters a rate limit or a different kind of error during without sub-agents, the TUI correctly displays a warning notification in the bottom left corner like "You are rate-limited", "Your daily token quota exceeded".
However, if the main agent spawns sub-agents and one of these sub-agents hits a rate limit while running, no warning is propagated to the UI. The main TUI view shows no indication of the limit, and clicking on the specific sub-agent to open its detailed view also shows no rate limit warnings or errors. This leaves the user unaware that the process is hanging or being blocked due to API limits.
Plugins
None
OpenCode version
1.2.26
Steps to reproduce
- Start OpenCode in TUI mode.
- Provide a prompt that requires the agent to spawn multiple sub-agents.
- Artificially trigger a rate limit from the provider (or use a provider/key with very low limits).
- Observe the main TUI view while the sub-agents are active; no rate limit warning appears.
- Expand/click on the active sub-agent to view its details; the detailed view also fails to display the rate limit warning.
- Compare this to running a simple linear prompt where the bottom-left warning successfully appears.
Screenshot and/or share link
No response
Operating System
macOS 26.0.1
Terminal
Warp
Description
When using the TUI, if the model encounters a rate limit or a different kind of error during without sub-agents, the TUI correctly displays a warning notification in the bottom left corner like "You are rate-limited", "Your daily token quota exceeded".
However, if the main agent spawns sub-agents and one of these sub-agents hits a rate limit while running, no warning is propagated to the UI. The main TUI view shows no indication of the limit, and clicking on the specific sub-agent to open its detailed view also shows no rate limit warnings or errors. This leaves the user unaware that the process is hanging or being blocked due to API limits.
Plugins
None
OpenCode version
1.2.26
Steps to reproduce
Screenshot and/or share link
No response
Operating System
macOS 26.0.1
Terminal
Warp