Skip to content

Commit

Permalink
fix(deriver) increase retry limit on anthropic
Browse files Browse the repository at this point in the history
  • Loading branch information
VVoruganti committed Nov 15, 2024
1 parent 16868bb commit 3dbd912
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/deriver/voe.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 3dbd912

Please sign in to comment.