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

checkpoint postgres: add a shallow checkpointer #2826

Merged
merged 14 commits into from
Dec 20, 2024

Conversation

vbarda
Copy link
Collaborator

@vbarda vbarda commented Dec 19, 2024

This PR adds a "shallow" version of PostgresSaver checkpointer that ONLY stores the most recent checkpoint and does NOT retain any history. It is meant to be a light-weight drop-in replacement for the PostgresSaver that supports most of the LangGraph persistence functionality with the exception of time travel.

@vbarda vbarda changed the title checkpoint: add shallow checkpointers (memory, postgres) checkpoint postgres: add a shallow checkpointer Dec 19, 2024
@vbarda vbarda marked this pull request as ready for review December 19, 2024 23:36
@vbarda vbarda enabled auto-merge (squash) December 20, 2024 17:43
@vbarda vbarda merged commit 44ee019 into main Dec 20, 2024
59 checks passed
@vbarda vbarda deleted the vb/add-shallow-checkpointer branch December 20, 2024 17:51
achrafmam2 pushed a commit to achrafmam2/langgraph that referenced this pull request Dec 26, 2024
This PR adds a "shallow" version of `PostgresSaver` checkpointer that
ONLY stores the most recent checkpoint and does NOT retain any history.
It is meant to be a light-weight drop-in replacement for the
PostgresSaver that supports most of the LangGraph persistence
functionality with the exception of time travel.
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.

2 participants