How to use web search tools with ChatAnthropicVertex in Python? #1357
Closed
하준영 (codethestudent)
announced in
Announcements
Replies: 1 comment
|
Not supported currently, I've opened an issue |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi, I’m trying to use Claude models on Vertex AI through ChatAnthropicVertex in Python, and I’m not sure how tool usage (especially web search tools) is supposed to work.
I couldn’t find any documentation or examples explaining whether:
Tools should be passed directly when constructing the ChatAnthropicVertex model, or
Tools should be attached using BaseChatModel.bind_tools() after creating the model.
I’ve tried both approaches, but tool-calling doesn’t seem to work properly, and I can’t find clear guidance in the docs. (the only docs about web search I found are ChatAnthropic(), ChatVertexAI())
Is ChatAnthropicVertex supposed to support tool-calling (like web search tools)?
If so, what is the correct way to attach tools for Claude models running on Vertex?
Any official docs, examples, or guidance would be really appreciated. Thanks
All reactions