Skip to content

feat(tui): show user-facing status when rate-limited (429) or retrying#2056

Open
bj456736 wants to merge 1 commit into
MoonshotAI:mainfrom
bj456736:auto-pr-20260722-1800
Open

feat(tui): show user-facing status when rate-limited (429) or retrying#2056
bj456736 wants to merge 1 commit into
MoonshotAI:mainfrom
bj456736:auto-pr-20260722-1800

Conversation

@bj456736

Copy link
Copy Markdown
Contributor

When a provider returns 429 or any other retryable error, the CLI previously spun silently with no user feedback. This change surfaces a warning status message in the TUI so users know why the system is waiting.

  • 429: "Rate limited (429), retrying in Xs… (Y/Z)"
  • Other: "Request failed, retrying in Xs… (Y/Z)"

Fixes #2025

When a provider returns 429 or any other retryable error, the CLI previously
spun silently with no user feedback. This change surfaces a warning status
message in the TUI so users know why the system is waiting.

- 429: "Rate limited (429), retrying in Xs… (Y/Z)"
- Other: "Request failed, retrying in Xs… (Y/Z)"

Fixes MoonshotAI#2025
@changeset-bot

changeset-bot Bot commented Jul 22, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: d367073

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@pkg-pr-new

pkg-pr-new Bot commented Jul 22, 2026

Copy link
Copy Markdown
pnpm dlx https://pkg.pr.new/@moonshot-ai/kimi-code@d367073
npx https://pkg.pr.new/@moonshot-ai/kimi-code@d367073

commit: d367073

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d367073635

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

case 'turn.step.interrupted': this.handleStepInterrupted(event); break;
case 'turn.step.completed': this.handleStepCompleted(event); break;
case 'turn.step.retrying': break;
case 'turn.step.retrying': this.handleStepRetrying(event); break;

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Surface retry notices for subagent retries

In subagent/AgentSwarm flows, handleEvent returns from routeChildAgentEvent(event) before this switch, and that route has no handling for turn.step.retrying, so a child agent that hits a 429 or other retryable provider error is still swallowed silently while the Agent card waits. Please either let retry events fall through or render the same retry status from the subagent route so the new user-facing feedback also covers delegated tasks.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

429 rate-limit gives no user feedback — CLI just spins for minutes (still on 0.28.1)

1 participant