From 3dbd912c068417d8e65b48f7a238fe08aaf72740 Mon Sep 17 00:00:00 2001 From: Vineeth Voruganti <13438633+VVoruganti@users.noreply.github.com> Date: Fri, 15 Nov 2024 10:28:22 -0500 Subject: [PATCH] fix(deriver) increase retry limit on anthropic --- src/deriver/voe.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/deriver/voe.py b/src/deriver/voe.py index 20814f6..e3721ea 100644 --- a/src/deriver/voe.py +++ b/src/deriver/voe.py @@ -1,10 +1,10 @@ import os -from anthropic import Anthropic import sentry_sdk +from anthropic import Anthropic # Initialize the Anthropic client -anthropic = Anthropic(api_key=os.getenv("ANTHROPIC_API_KEY")) +anthropic = Anthropic(api_key=os.getenv("ANTHROPIC_API_KEY"), max_retries=5) @sentry_sdk.trace