-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
feat(langchain): Allow to passthrough model kwargs via createToolCallingAgent #6743
base: main
Are you sure you want to change the base?
feat(langchain): Allow to passthrough model kwargs via createToolCallingAgent #6743
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Skipped Deployment
|
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.
left one small comment, other than that this looks good!
Once fixed please re-request my review
Co-authored-by: Brace Sproul <[email protected]>
Thanks, @bracesproul! Can you have another look, please? |
Ping @bracesproul :P |
Thanks for this @OlegIvaniv! You should now be able to pass a |
This PR adds optional
kwargs
parameter tocreateToolCallingAgent
which are passed tollm.bindTools
. This is useful when user needs to specify some model provider parameters, for example to always require the model to use a tool({ tool_choice: 'required' }
)