We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4b9bbcd + 0db53e5 commit 012b07aCopy full SHA for 012b07a
dsp/modules/anthropic.py
@@ -62,7 +62,7 @@ def __init__(
62
}
63
self.kwargs["model"] = model
64
self.history: list[dict[str, Any]] = []
65
- self.client = Anthropic(api_key=api_key)
+ self.client = Anthropic(api_key=api_key, base_url=api_base)
66
67
def log_usage(self, response):
68
"""Log the total tokens from the Anthropic API response."""
0 commit comments