fix: pass base_url to Google and Anthropic clients for proxy support (#427)
This commit is contained in:
3 files changed
+10
-8
No files matched your search
@@ -33,6 +33,9 @@ class AnthropicClient(BaseLLMClient):
|
||||
"""Return configured ChatAnthropic instance."""
|
||||
llm_kwargs = {"model": self.model}
|
||||
|
||||
if self.base_url:
|
||||
llm_kwargs["base_url"] = self.base_url
|
||||
|
||||
for key in _PASSTHROUGH_KWARGS:
|
||||
if key in self.kwargs:
|
||||
llm_kwargs[key] = self.kwargs[key]
|
||||
|
||||
Reference in new issue
Block a user