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

core[patch]: Support injected tool args that are arbitrary types #27045

Merged
merged 5 commits into from
Oct 2, 2024

Conversation

eyurtsev
Copy link
Collaborator

@eyurtsev eyurtsev commented Oct 2, 2024

This adds support for inject tool args that are arbitrary types when used with pydantic 2.

We'll need to add similar logic on the v1 path, and potentially mirror the config from the original model when we're doing the subset.

Copy link

vercel bot commented Oct 2, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
langchain ⬜️ Ignored (Inspect) Visit Preview Oct 2, 2024 4:39pm

@eyurtsev eyurtsev marked this pull request as ready for review October 2, 2024 16:40
@dosubot dosubot bot added size:S This PR changes 10-29 lines, ignoring generated files. langchain Related to the langchain package Ɑ: core Related to langchain-core labels Oct 2, 2024
@dosubot dosubot bot added the lgtm PR looks good. Use to confirm that a PR is ready for merging. label Oct 2, 2024
@eyurtsev eyurtsev merged commit 74bf620 into master Oct 2, 2024
85 checks passed
@eyurtsev eyurtsev deleted the eugene/injected_args branch October 2, 2024 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ɑ: core Related to langchain-core langchain Related to the langchain package lgtm PR looks good. Use to confirm that a PR is ready for merging. size:S This PR changes 10-29 lines, ignoring generated files.
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants