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

updated retry_time #1045

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Kyoshiin
Copy link
Contributor

Why are these changes needed?

Getting an error message that says "Please retry after 59 seconds", but FLAML was retrying in 10-second intervals.

Changed retry_time in flaml.oai

- retry_time = 10
+ retry_time = 60

Related issue number

Closes microsoft/autogen#14

Checks

@sonichi sonichi requested a review from ekzhu May 17, 2023 22:11
@sonichi
Copy link
Contributor

sonichi commented May 17, 2023

I believe the feature wanted is to increase the retry time interval if the error message suggests a larger interval. @ekzhu Please advise.

@ekzhu
Copy link
Contributor

ekzhu commented May 23, 2023

Why are these changes needed?

Getting an error message that says "Please retry after 59 seconds", but FLAML was retrying in 10-second intervals.

Changed retry_time in flaml.oai

- retry_time = 10
+ retry_time = 60

Related issue number

Closes microsoft/autogen#14

Checks

Thanks for the pull request! It looks like it is changing the retry intervals directly. Is there a dynamic way to set the retry interval based on the error message?

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.

Use appropriate wait time for retry based on the error message.
3 participants