From 29293cc8acaf7929f4d39efe6220e9985f8d63f6 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Fri, 25 Oct 2024 07:07:36 -0700 Subject: [PATCH] fix: update import path for AnthropicError in retry_exceptions --- aider/sendchat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aider/sendchat.py b/aider/sendchat.py index 262fab204..2b9615c12 100644 --- a/aider/sendchat.py +++ b/aider/sendchat.py @@ -29,7 +29,7 @@ def retry_exceptions(): litellm.exceptions.ServiceUnavailableError, litellm.exceptions.Timeout, litellm.exceptions.InternalServerError, - litellm.llms.anthropic.chat.AnthropicError, + litellm.llms.anthropic.common_utils.AnthropicError, )