-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
Use appropriate wait time for retry based on the error message. #14
Comments
Thanks. It'll be nice to adjust the retry time according to the error msg. |
I also get this error: [autogen.oai.completion: 09-27 12:50:43] {236} INFO - retrying in 10 seconds... |
Is there a configuration to set the max numbers of requests that can be made per minute? This would help to avoid hitting rate limits for Requests Per Minute. 😅 |
@Pavel-hb @RobertWeaver I added some answers in #53 . Could you take a look and let me know if it answers your question? |
I also observed the same behavior that retry occurs with 10 seconds, it definitely should retry based on the time in the error message. |
The retry time behavior has been changed in v0.2. https://microsoft.github.io/autogen/docs/Installation#python |
The "calculate the token count in system and user prompt" are already the features of CompressibeAgent. I think "dynamically reducing max tokens" is not necessary to have. The similar thing is achieved by the "TERMINATE" mode of @raghavgrover13 Can you checkout https://github.com/microsoft/autogen/blob/main/notebook/agentchat_compression.ipynb to see if it helps with your problem? |
* update url * update * update --------- Co-authored-by: Yiran Wu <[email protected]>
Merge pull request #13 from microsoft/elsa3new
* refactor abstractions * refactor structure * refactor projects WIP * refactor WIP * refactoring WIP * fixes
The error message says "Please retry after 59 seconds", but FLAML keeps retrying in 10-second intervals.
The text was updated successfully, but these errors were encountered: