Skip to content

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