Skip to content

Conversation

@suryabdev
Copy link
Contributor

Recently retries for RPM errors was added #1801. This is a follow up enhancement that adds exponential backoff with jitter

It is a best practise as explained in the Open AI Cookbook
https://cookbook.openai.com/examples/how_to_handle_rate_limits#example-3-manual-backoff-implementation

@suryabdev
Copy link
Contributor Author

cc: @albertvillanova / @aymeric-roucher please review when you are free

Copy link
Collaborator

@aymeric-roucher aymeric-roucher left a comment

Choose a reason for hiding this comment

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

Thank you, good improvements!

@suryabdev
Copy link
Contributor Author

Thanks for the review @aymeric-roucher
Quality check failed. I've pushed a commit with the style changes
Please re-trigger the checks when you are free

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