Skip to content

feat: add support for retrying LLM requests on 429 ratelimits (#697)#735

Closed
adilhafeez wants to merge 1 commit intomainfrom
feat/retry-on-ratelimit-v2
Closed

feat: add support for retrying LLM requests on 429 ratelimits (#697)#735
adilhafeez wants to merge 1 commit intomainfrom
feat/retry-on-ratelimit-v2

Conversation

@adilhafeez
Copy link
Copy Markdown
Contributor

@adilhafeez adilhafeez commented Feb 10, 2026

Created branch to run tests for #733

- Added 'retry_on_ratelimit' configuration to LlmProvider.
- Implemented a retry loop in the LLM handler to automatically failover to an alternative model when a 429 status is received.
- Added comprehensive unit tests for fallback selection and failover logic.
- Ensured default behavior is unchanged when the feature is disabled.
@adilhafeez adilhafeez closed this Mar 9, 2026
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.

2 participants