Skip to content

Missing Rate Limit (429) / Provider Warning UI Feedback for Sub-Agents in TUI #17583

@OyuNet

Description

@OyuNet

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

  1. Start OpenCode in TUI mode.
  2. Provide a prompt that requires the agent to spawn multiple sub-agents.
  3. Artificially trigger a rate limit from the provider (or use a provider/key with very low limits).
  4. Observe the main TUI view while the sub-agents are active; no rate limit warning appears.
  5. Expand/click on the active sub-agent to view its details; the detailed view also fails to display the rate limit warning.
  6. 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

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingcoreAnything pertaining to core functionality of the application (opencode server stuff)

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions