mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 01:35:00 +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.ServiceUnavailableError,
|
||||
litellm.exceptions.Timeout,
|
||||
litellm.exceptions.InternalServerError,
|
||||
litellm.llms.anthropic.AnthropicError,
|
||||
),
|
||||
giveup=should_giveup,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue