-
Notifications
You must be signed in to change notification settings - Fork 15.4k
Missing Rate Limit (429) / Provider Warning UI Feedback for Sub-Agents in TUI #17583
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't workingcoreAnything pertaining to core functionality of the application (opencode server stuff)Anything pertaining to core functionality of the application (opencode server stuff)
Description
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingcoreAnything pertaining to core functionality of the application (opencode server stuff)Anything pertaining to core functionality of the application (opencode server stuff)
Type
Fields
Give feedbackNo fields configured for issues without a type.