Nuno Campos and GitHub
a261e1a497
Fix semantics of put_writes/list ( #1436 )
...
* Fix semantics of put_writes/list
- put_writes(error) should not prevent saving future successful if task is retried successfully
- put_writes(writes) should be a no-op if non-error writes already exist for that task (this prevents tasks executed more than once from modifying writes previously saved / acted on)
- checkpoints should not include channel default values (ie those without a version)
- list() should fetch and return writes for each checkpoint
* Lint
* Rm print
* Fix import
* Lint
2024-08-22 19:04:42 +00:00
vbarda
f51e7ea9a4
pass pending writes in checkpointers
2024-08-21 15:38:30 -04:00
vbarda
a94168af7f
Merge branch 'main' into vb/update-get-state
2024-08-21 15:07:52 -04:00
Nuno Campos
9cfb4b01c8
postgres: Fix args to put_writes
2024-08-19 15:54:49 -07:00
Nuno Campos
c0c534cbe3
Add pipeline arg
2024-08-19 15:44:22 -07:00
Nuno Campos
7aaeedd7ba
checkpoint-*: In put_writes clear any previously saved writes for this task_id
...
- Previously implementations were clearing only tasks if the index matched a previously saved one, which isn't enough to guarantee idempotency
2024-08-19 15:40:04 -07:00
vbarda
5033044587
update checkpointer tests
2024-08-12 16:22:27 -04:00
vbarda
fb05bdc2bf
return all checkpoints from .list
2024-08-12 15:52:17 -04:00
Vadym Barda and GitHub
d98eec6e91
checkpoint-postgres: vbump & add a note to readme ( #1295 )
2024-08-09 09:42:53 -04:00
Vadym Barda and GitHub
659586947d
checkpoint-postgres: fix setup for AsyncPostgresSaver ( #1294 )
2024-08-09 13:39:30 +00:00
Vadym Barda and GitHub
49bf8f6816
checkpoint-postgres: release 1.0.2 ( #1278 )
2024-08-08 12:42:06 -04:00
Vadym Barda and GitHub
71ce07d971
checkpoint: update docstrings for checkpoint libraries ( #1277 )
2024-08-08 16:26:16 +00:00
Vadym Barda and GitHub
4dc27b98f1
langgraph, checkpoint-postgres: propagate new versions in update_state ( #1270 )
...
* langgraph, checkpoint-postgres: propagate new versions in update_state
2024-08-08 11:55:55 -04:00
vbarda
d33807b5ea
checkpoint-postgres: remove unset channel values from blobs
2024-08-07 17:31:07 -04:00
Nuno Campos
9650f0d41d
postgres1.0.1
2024-08-07 12:15:40 -07:00
Nuno Campos
2bd9eb4298
postgres: Avoid syncing pipeline unless actually needed
2024-08-07 09:40:18 -07:00
Nuno Campos and GitHub
4c2542aac6
Merge pull request #1257 from langchain-ai/nc/7aug/postgres-migrations
...
postgres: Add migration tracking
2024-08-07 09:33:10 -07:00
vbarda
54da68cfe7
remove flag
2024-08-07 12:25:34 -04:00
vbarda
51b62ca0bd
remove setup
2024-08-07 12:23:00 -04:00
Vadym Barda and GitHub
ca4b65e1a6
checkpoint-postgres: use correct metadata serialization ( #1255 )
2024-08-07 12:13:44 -04:00
Nuno Campos
1e237bf33a
postgres: Add migration tracking
2024-08-07 08:54:08 -07:00
Vadym Barda and GitHub
186dfd3976
checkpoint-postgres: release 1.0.0 ( #1245 )
2024-08-06 22:53:29 -04:00
b37f78942d
checkpoint-postgres: new library for postgres checkpointer implementation ( #1236 )
...
* checkpoint-postgres: new library for postgres checkpointer implementation
---------
Co-authored-by: Nuno Campos <nuno@langchain.dev >
2024-08-06 22:37:06 -04:00