Skip to content

Commit

Permalink
fix: anthropic
Browse files Browse the repository at this point in the history
  • Loading branch information
tjbck committed Jun 4, 2024
1 parent ecd7f8e commit 3f7a44d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def __init__(self):
self.name = "anthropic/"

self.valves = self.Valves(
**{"ANTHROPIC_API_KEY": os.getenv("ANTHROPIC_API_KEY")}
**{"ANTHROPIC_API_KEY": os.getenv("ANTHROPIC_API_KEY", "your-api-key-here")}
)
self.client = Anthropic(api_key=self.valves.ANTHROPIC_API_KEY)

Expand Down

0 comments on commit 3f7a44d

Please sign in to comment.