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

Ensure dict() does not raise not implemented error, which should instead be raised in our custom method save() #11970

Merged
merged 1 commit into from
Oct 18, 2023

Conversation

nfcampos
Copy link
Collaborator

@nfcampos nfcampos commented Oct 18, 2023

.dict() is a Pydantic method that cannot raise exceptions, as it is used eg. in __eq__

@nfcampos nfcampos requested a review from eyurtsev October 18, 2023 08:45
@vercel
Copy link

vercel bot commented Oct 18, 2023

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

1 Ignored Deployment
Name Status Preview Updated (UTC)
langchain ⬜️ Ignored (Inspect) Oct 18, 2023 8:45am

@dosubot dosubot bot added Ɑ: agent Related to agents module 🤖:bug Related to a bug, vulnerability, unexpected error with an existing feature labels Oct 18, 2023
@nfcampos nfcampos changed the title Ensure dict() does not raise not implemented error, which should inst… Ensure dict() does not raise not implemented error, which should instead be raised in our custom method save() Oct 18, 2023
@eyurtsev eyurtsev self-assigned this Oct 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ɑ: agent Related to agents module 🤖:bug Related to a bug, vulnerability, unexpected error with an existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants