Add retry support for litellm.InternalServerError

This commit is contained in:
Paul Gauthier (aider) 2024-07-30 12:23:33 -03:00
parent 9706002769
commit cba53bfc22

View file

@ -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,