-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
core[patch]: Allow runnable tools to take single string/ToolCall
inputs
#6096
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
What does this look like if passed to an agent? |
@@ -48,6 +48,7 @@ | |||
"@langchain/google-vertexai": "workspace:*", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey there! 👋 I noticed that this PR adds a new peer dependency for "@langchain/langgraph". This comment is just to flag this change for the maintainers to review. Keep up the great work! 🚀
ToolCall
inputs
Thanks! |
ZodAny
toZodObjectAny
.asTool
to handle convertingToolCall
inputs to the proper input for the runnable.asTool
input typing to acceptT
orToolCall