forked from cline/cline
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Open
Labels
Issue - In ProgressSomeone is actively working on this. Should link to a PR soon.Someone is actively working on this. Should link to a PR soon.enhancementNew feature or requestNew feature or request
Description
Type
Enhancement
Problem
When the app is waiting to retry after a rate limit API error, the chat shows error‑like text instead of clearly indicating that a rate limit has been triggered and we’re briefly waiting.
Context
- Affects anyone sending a message during high usage or temporary errors when automatic retry/backoff is active (including the initial wait and subsequent retries).
- Desired behavior: show a neutral loading state with a spinner and a per‑second countdown, and clearly state that a rate limit has been triggered — please wait.
Suggested copy examples:
- "Rate limit triggered — please wait. Retrying in 12s (attempt 2/5)"
- "Retrying now…"
Constraints/Preferences
- Use loading/neutral styling (not error colors); match existing “API request in progress” visuals.
- Keep input disabled while waiting; update the countdown once per second without flicker.
- At zero, briefly show “Retrying now…” then proceed automatically.
- Accessible and localizable (screen reader‑friendly updates; good contrast in light/dark themes).
- Don’t spam the timeline: treat the countdown as a single live status row rather than many separate messages.
- If the user cancels, stop the countdown and restore normal input state.
Metadata
Metadata
Assignees
Labels
Issue - In ProgressSomeone is actively working on this. Should link to a PR soon.Someone is actively working on this. Should link to a PR soon.enhancementNew feature or requestNew feature or request
Type
Projects
Status
Issue [In Progress]