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

Remove stop condition in gemini retry logic #769

Merged
merged 3 commits into from
Nov 19, 2024

Conversation

gabrielibagon
Copy link
Contributor

Even with the current retry logic, I was still facing ResourceExhaustion errors during the multi_turn_long_context cases. I have removed the stop condition in the retry logic to allow the code to continue trying until the tokens per minute quota allows for new requests. This potentially could increase the duration of the test, but it will allow all examples to finish.

Copy link
Collaborator

@HuanzhiMao HuanzhiMao left a comment

Choose a reason for hiding this comment

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

Thanks for the PR @gabrielibagon !

@HuanzhiMao HuanzhiMao merged commit 7cd1bf4 into ShishirPatil:main Nov 19, 2024
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