mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 10:14:59 +00:00
Add retry support for litellm.InternalServerError
This commit is contained in:
parent
9706002769
commit
cba53bfc22
1 changed files with 1 additions and 0 deletions
|
@ -42,6 +42,7 @@ def lazy_litellm_retry_decorator(func):
|
||||||
litellm.exceptions.RateLimitError,
|
litellm.exceptions.RateLimitError,
|
||||||
litellm.exceptions.ServiceUnavailableError,
|
litellm.exceptions.ServiceUnavailableError,
|
||||||
litellm.exceptions.Timeout,
|
litellm.exceptions.Timeout,
|
||||||
|
litellm.exceptions.InternalServerError,
|
||||||
litellm.llms.anthropic.AnthropicError,
|
litellm.llms.anthropic.AnthropicError,
|
||||||
),
|
),
|
||||||
giveup=should_giveup,
|
giveup=should_giveup,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue