Nuno Campos
330c91f622
Update ruff
2024-08-27 10:50:39 -07:00
Vadym Barda and GitHub
c88d289a73
checkpoint-postgres: release 1.0.4 ( #1493 )
2024-08-27 11:34:26 -04:00
Vadym Barda and GitHub
d12f5c6d8b
checkpoint-postgres: allow passing pool ( #1452 )
...
* checkpoint-postgres: allow passing pool
* make psycopg_pool a non-dev dependency
* code review
* lockfile
* move methods
* relax requirements, remove binary
* add binary to dev dependencies
* update readme
2024-08-27 15:30:13 +00:00
vbarda
85e698e20b
filter on checkpoint NS
2024-08-26 19:26:35 -04:00
Vadym Barda and GitHub
4c4d7054ab
Merge branch 'main' into vb/update-get-state
2024-08-23 14:27:40 -04:00
vbarda
4162be8119
optimize subgraph state lookups
2024-08-22 20:35:08 -04:00
Vadym Barda and GitHub
8090ca67c5
checkpoint-postgres: pass row_factory in cursor ( #1433 )
2024-08-22 17:39:21 -04:00
Nuno Campos and GitHub
7e32de9405
Remove current_tasks from checkpoint interface ( #1440 )
...
* Remove current_tasks from checkpoint interface
- Not used, now clear that it can be supported with put_writes(SCHEDULE)
* Add comment
2024-08-22 19:44:26 +00:00
vbarda
5654d8fc86
Merge branch 'main' into vb/update-get-state
2024-08-22 15:34:14 -04:00
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