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

fix(checkpoint-sqlite): populate pending_sends and pendingWrites #631

Merged

Conversation

benjamincburns
Copy link
Contributor

Per the title, fixes up put and getTuple on SqliteSaver to correctly populate the pending_sends and pendingWrites fields. Also adds a couple of input validation checks.

Finally, this change also modifies checkpoint-validation accordingly to unignore tests for SqliteSaver.

Fixes #590.

@benjamincburns benjamincburns force-pushed the fix-sqlitesaver-pending-writes branch 2 times, most recently from d17aa37 to d1bb0d1 Compare October 25, 2024 08:03
@benjamincburns benjamincburns force-pushed the fix-sqlitesaver-pending-writes branch from d1bb0d1 to 3562068 Compare October 25, 2024 13:20
Copy link
Contributor

@nfcampos nfcampos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@jacoblee93 jacoblee93 merged commit 568ff23 into langchain-ai:main Oct 29, 2024
19 checks passed
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.

SqliteSaver.list returns CheckpointTuples without the pendingWrites field populated.
3 participants