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
Nuno Campos
8a7c6b4fa7
Add xray test
2024-08-19 12:05:36 -07:00
Nuno Campos
31dcd15927
cli: Fix ready signal
2024-08-19 07:52:00 -07:00
Nuno Campos
e916cab08f
Checkpoint errors in pending_writes, expose under StateSnapshot.tasks
...
- Save errors produced by tasks, under pending_writes
- Re-work logic to cancel other tasks when one fails, ready to change for interrupt exception
- Update serializer to handle exceptions
- Update get_state/get_state_history with new return value property "tasks" which contains a richer description of the next tasks, currently with id, name and error (if already ran and errored)
2024-08-16 13:11:27 -07:00
Nuno Campos
a16a33806c
lib0.2.4
2024-08-15 15:37:51 -07:00
Nuno Campos
6a68581a9f
Lint
2024-08-15 15:32:48 -07:00
Nuno Campos
78781b0a90
Use exc_info
2024-08-15 15:23:54 -07:00
Glavin Wiechert and GitHub
d15c5a46de
Include exception traceback in run_with_retry logging
2024-08-15 18:29:05 -03:00
Nuno Campos and GitHub
c9f4b5aede
Merge pull request #1360 from langchain-ai/nc/14auug/debug-checkpoint-full
...
Add missing attributes to checkpoint event in debug output
2024-08-15 10:26:27 -07:00
Nuno Campos and GitHub
855139d869
Merge pull request #1299 from langchain-ai/dependabot/pip/libs/langgraph/aiohttp-3.10.2
...
build(deps-dev): bump aiohttp from 3.9.5 to 3.10.2 in /libs/langgraph
2024-08-15 10:20:16 -07:00
Nuno Campos
d07cbd34ce
checkpoint1.0.3
2024-08-15 10:19:50 -07:00
Nuno Campos
c701fef634
Lint
2024-08-15 09:40:53 -07:00
Nuno Campos
2c8fc3c9c6
Add missing attributes to checkpoint event in debug output
2024-08-15 09:30:29 -07:00
Nuno Campos and GitHub
2dbfc8aca3
Merge pull request #1344 from langchain-ai/nc/14aug/ignore-serialized-values-missing-constructor
...
checkpoint: Ignore serialized values when constructor no longer available
2024-08-14 14:43:57 -07:00
Isaac Francisco and GitHub
34fd833b04
[docs]: purge message graph ( #1330 )
...
* purge message graph
* docstrings
* use with dicts
2024-08-14 11:16:38 -07:00
Nuno Campos
728b283063
checkpoint: Ignore serialized values when constructor no longer available
2024-08-14 10:59:14 -07:00
Nuno Campos
a01c1c2bfa
Passthrough checkpoint in config even when current sub-graph didn't choose to use it
2024-08-13 10:27:48 -07:00
Nuno Campos
a64c0a2679
Add pathlib.Path and re.Pattern
2024-08-11 19:40:11 -07:00
Nuno Campos
fdc5aece52
Add Decimal
2024-08-11 19:34:22 -07:00
Nuno Campos
685db62029
checkpoint: Add support for serializing more python types
...
- all ip interfaces
- deque,
- ZoneInfo
- date
- time
2024-08-11 19:27:29 -07:00
Nuno Campos
9634468260
Skip initializing Context channels when calling get_state/get_state_history
2024-08-11 10:47:19 -07:00
dependabot[bot] and GitHub
b45273d112
build(deps-dev): bump aiohttp from 3.9.5 to 3.10.2 in /libs/langgraph
...
Bumps [aiohttp](https://github.com/aio-libs/aiohttp ) from 3.9.5 to 3.10.2.
- [Release notes](https://github.com/aio-libs/aiohttp/releases )
- [Changelog](https://github.com/aio-libs/aiohttp/blob/master/CHANGES.rst )
- [Commits](https://github.com/aio-libs/aiohttp/compare/v3.9.5...v3.10.2 )
---
updated-dependencies:
- dependency-name: aiohttp
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-08-09 18:26:13 +00: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
Jacob Lee and GitHub
dce73fde66
Clarify send API docstring ( #1280 )
2024-08-08 12:59:23 -07:00
Vadym Barda and GitHub
da6462e608
langgraph: release 0.2.3 ( #1279 )
2024-08-08 12:43:24 -04: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
a2f4d57bf2
langgraph: more checkpointer tests ( #1263 )
...
* langgraph: more checkpointer tests
* more tests
* lint
* update tests
---------
Co-authored-by: Nuno Campos <nuno@langchain.dev >
2024-08-08 00:45:46 +00:00
Vadym Barda and GitHub
3b87a81c70
Merge branch 'main' into vb/update-empty-channels
2024-08-07 20:18:10 -04:00
Nuno Campos and GitHub
002b260e7a
Various small changes ( #1268 )
2024-08-07 20:17:47 -04:00
vbarda
659c9881cf
cleanup
2024-08-07 19:54:45 -04:00
vbarda
b535d38393
test
2024-08-07 19:53:41 -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
127b6dedee
lib0.2.2
2024-08-07 12:14:34 -07:00
Nuno Campos
281c97b9e5
Include in stream output all nodes ran, even if they returned no writes to state keys
...
- This also includes these nodes in checkpoint.metadata.writes
2024-08-07 12:05:45 -07:00
Nuno Campos
cb21a3547e
Skip async postgres tests in 3.9
2024-08-07 12:04:11 -07:00
Nuno Campos
6028eb02c9
Lint
2024-08-07 11:49:46 -07:00
Nuno Campos
712d52ad3b
fix test setup for checkpointers
2024-08-07 11:39:14 -07:00
Nuno Campos and GitHub
6078c408c3
Raise exception for reducers w wrong signature ( #1261 )
2024-08-07 17:48:07 +00: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