Langchain_anthropic chat_model -> convert_to_anthropic_tool function should include "Type" #30311
sangwooklee0201
announced in
Ideas
Replies: 0 comments
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.
-
Checked
Feature request
"convert_to_anthropic_tool" function within chat_models.py in the langchain_anthropic library needs to include adding "type" key in the formatted anthropic tool, just like what is happening in the open AI tool
Motivation
So that it can run through "create_react_agent" from langgraph like below:
agent_executor = create_react_agent(sonnet_3_5_model, [...], checkpointer=memory)
Proposal (If applicable)
No response
Beta Was this translation helpful? Give feedback.
All reactions