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,integrations[minor]: Dont error on fields in model_kwargs #27110

Merged
merged 11 commits into from
Oct 4, 2024

Conversation

baskaryan
Copy link
Collaborator

@baskaryan baskaryan commented Oct 4, 2024

Given the current erroring behavior, every time we've moved a kwarg from model_kwargs and made it its own field that was a breaking change. Updating this behavior to support the old instantiations / serializations.

Assuming build_extra_kwargs was not something that itself is being used externally and needs to be kept backwards compatible

@efriis efriis added the partner label Oct 4, 2024
Copy link

vercel bot commented Oct 4, 2024

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

Name Status Preview Comments Updated (UTC)
langchain ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 4, 2024 6:36pm

@efriis efriis self-assigned this Oct 4, 2024
@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. community Related to langchain-community 🤖:nit Small modifications/deletions, fixes, deps or improvements to existing code or docs labels Oct 4, 2024
@eyurtsev eyurtsev self-assigned this Oct 4, 2024
@baskaryan baskaryan merged commit 4935a14 into master Oct 4, 2024
115 of 116 checks passed
@baskaryan baskaryan deleted the bagatur/fix_model_kwargs branch October 4, 2024 18:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community Related to langchain-community 🤖:nit Small modifications/deletions, fixes, deps or improvements to existing code or docs partner size:L This PR changes 100-499 lines, ignoring generated files.
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants