diff --git a/aider/sendchat.py b/aider/sendchat.py index 1123fe78c..b5f05e578 100644 --- a/aider/sendchat.py +++ b/aider/sendchat.py @@ -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,