Skip to content
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

langgraph: check if model passed as runnable binding with tools in create_react_agent #1647

Merged
merged 12 commits into from
Sep 30, 2024

Conversation

vbarda
Copy link
Collaborator

@vbarda vbarda commented Sep 6, 2024

This should allow users to customize models they pass to create_react_agent, including enabling/disabling parallel tool calling on the model.

If a model is passed as RunnableBinding with tools, we'll validate that the tools match the list of tools in create_react_agent and use the bound tools instead of binding inside create_react_agent

@vbarda vbarda requested a review from hinthornw September 6, 2024 22:08
@vbarda vbarda marked this pull request as draft September 6, 2024 22:24
@vbarda vbarda marked this pull request as ready for review September 29, 2024 16:25
@vbarda vbarda changed the title [rfc] langgraph: check if model passed as runnable binding with tools in create_react_agent langgraph: check if model passed as runnable binding with tools in create_react_agent Sep 29, 2024
@vbarda vbarda merged commit 78f3ee9 into main Sep 30, 2024
46 checks passed
@vbarda vbarda deleted the vb/check-if-runnable-binding branch September 30, 2024 17:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants