Skip to content

Commit 012b07a

Browse files
Merge pull request #993 from 4daJKong/patch-1
Update anthropic.py
2 parents 4b9bbcd + 0db53e5 commit 012b07a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dsp/modules/anthropic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def __init__(
6262
}
6363
self.kwargs["model"] = model
6464
self.history: list[dict[str, Any]] = []
65-
self.client = Anthropic(api_key=api_key)
65+
self.client = Anthropic(api_key=api_key, base_url=api_base)
6666

6767
def log_usage(self, response):
6868
"""Log the total tokens from the Anthropic API response."""

0 commit comments

Comments
 (0)