Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[LLM] Increase the default retries for LLM #2986

Merged
merged 1 commit into from
Jul 18, 2024
Merged

Conversation

xingyaoww
Copy link
Collaborator

What is the problem that this fixes or functionality that this introduces? Does it fix any open issues?

I was happily using OpenDevin to build a website for me until it hit Anthropic API's rate limit.

For some reason, the exponential back-off does not work - See log: it retries every 2 seconds, which quickly runs out of retries and breaks the application for me.

image image

Give a summary of what the PR does, explaining any non-trivial design decisions

This PR tries to increase the default backoff strategy to be more aggressive rather than erroring out for user.


Other references

@iFurySt
Copy link
Collaborator

iFurySt commented Jul 18, 2024

LGTM

@xingyaoww xingyaoww merged commit 135da0e into main Jul 18, 2024
2 checks passed
@xingyaoww xingyaoww deleted the xw/fix-rate-limit branch July 18, 2024 01:17
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