import { PostgresSaver } from "@langchain/langgraph-checkpoint-postgres"; const writeConfig = { configurable: { thread_id: "1", checkpoint_ns: "" } }; const readConfig = { configurable: { thread_id: "1" } }; //
This PR adds a "shallow" version ofPostgresSavercheckpointer 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...
Merged drupol merged 1 commit into NixOS:master from sarahec:checkpoint-postgres-darwin Sep 9, 2024 Merged python312Packages.langgraph-{sdk,checkpoint,checkpoint-postgres,checkpoint-sqlite} Sept. 6 2024 update #340224 drupol merged 1 commit into NixOS:master from sarahec:checkpoint-postgres-...
langgraph-postgres-1 | 2024-09-17 17:44:00.084 UTC [27] LOG: checkpoint complete: wrote 3 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.005 s, sync=0.002 s, total=0.015 s; sync files=2, longest=0.001 s, average=0.001 s; distance=0 kB, estimate=0 kB;...
(self.gen) File"/path/to/langgraph/checkpoint/postgres/aio.py", line 349,in_cursor async with self.lock,conn.pipeline(), conn.cursor( ^^^ File"/usr/local/lib/python3.12/contextlib.py", line 217,in__aexit__ await anext(self.gen) File"/path/to/psycopg/connection_async.py", line ...
Navigation MenuProduct Solutions Resources Open Source Enterprise Pricing Search or jump to... Sign in Sign up simapple / postgresdigal Public forked from digoal/blog Notifications Fork 2 Star 6 Code Pull requests Actions Projects Wiki Security Insights simapple/postgresdigal...
Navigation MenuProduct Solutions Resources Open Source Enterprise Pricing Search or jump to... Sign in Sign up simapple / postgresdigal Public forked from digoal/blog Notifications Fork 2 Star 6 Code Pull requests Actions Projects Wiki Security Insights simapple/postgresdigal...