diff --git a/aider/sendchat.py b/aider/sendchat.py index e3d40c23c..c1ccbbe0e 100644 --- a/aider/sendchat.py +++ b/aider/sendchat.py @@ -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