Skip to content

Rate limit messaging#4455

Merged
lramos15 merged 1 commit intomainfrom
lramos15/domestic-dragon
Mar 17, 2026
Merged

Rate limit messaging#4455
lramos15 merged 1 commit intomainfrom
lramos15/domestic-dragon

Conversation

@lramos15
Copy link
Member

Improve rate limit messaging

Copilot AI review requested due to automatic review settings March 17, 2026 17:50
@lramos15 lramos15 enabled auto-merge March 17, 2026 17:50
@lramos15 lramos15 self-assigned this Mar 17, 2026
@vs-code-engineering vs-code-engineering bot added this to the 1.112.0 milestone Mar 17, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Improves end-user rate limit messaging in the chat platform layer by mapping additional CAPI rate-limit error codes to more specific, actionable localized messages.

Changes:

  • Broadened rate-limit code matching (e.g., startsWith(...)) for existing cases (agent mode and upstream/provider overload).
  • Added specific messages for new rate-limit categories (user_global_rate_limited, user_model_rate_limited, integration_rate_limited) with “Learn More” links.
  • Kept existing generic rate-limit fallback messaging for unrecognized rate-limit errors (including optional retry-after formatting).

@lramos15 lramos15 added this pull request to the merge queue Mar 17, 2026
Merged via the queue into main with commit 36f21bd Mar 17, 2026
23 checks passed
@lramos15 lramos15 deleted the lramos15/domestic-dragon branch March 17, 2026 19:51
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.

3 participants