autogen icon indicating copy to clipboard operation
autogen copied to clipboard

[Feature Request]: Retry llm requests on server failures

Open Ilaiwi opened this issue 1 year ago • 0 comments

Is your feature request related to a problem? Please describe.

I have been getting a lot of openai.APIConnectionError: Connection error errors while using openai and overloaded_error errors while using anthropic. This would cause the whole conversation to crash for long chain chats while a retry could probably solve the issue.

Describe the solution you'd like

Retry the request with a small backoff coffient that can be configured on the llm_configs

Additional context

No response

Ilaiwi avatar Oct 03 '24 08:10 Ilaiwi