retry sends in most cases

This commit is contained in:
Paul Gauthier 2024-08-07 11:30:43 -03:00
parent 1ecc780f74
commit 3d66aea572

View file

@ -26,6 +26,13 @@ def lazy_litellm_retry_decorator(func):
httpx.ConnectError,
httpx.RemoteProtocolError,
httpx.ReadTimeout,
litellm.exceptions.APIConnectionError,
litellm.exceptions.APIError,
litellm.exceptions.RateLimitError,
litellm.exceptions.ServiceUnavailableError,
litellm.exceptions.Timeout,
litellm.exceptions.InternalServerError,
litellm.llms.anthropic.AnthropicError,
):
return False