Nuno Campos
e76f4cc434
Combine channel and managed values manager
2024-08-21 13:30:18 -07:00
Nuno Campos
14ec51601c
lib0.2.8
2024-08-21 12:09:11 -07:00
Nuno Campos and GitHub
14976d4c56
Interrupts shouldn't be retried ( #1413 )
...
* Interrupts shouldn't be retried
* Add async test
* Lint
2024-08-21 12:08:58 -07:00
Nuno Campos
2f41b2891b
lib0.2.7
2024-08-21 11:33:54 -07:00
Nuno Campos
5fb2c2c6f8
Lint
2024-08-21 11:27:04 -07:00
Nuno Campos
4250ff92b8
Fix
2024-08-21 11:25:37 -07:00
Nuno Campos
7fd4a9ed30
Lint
2024-08-21 10:48:52 -07:00
Nuno Campos
2106b5e4a6
Lint
2024-08-21 10:48:04 -07:00
Nuno Campos
1af0367b34
Add error message
2024-08-21 09:41:53 -07:00
Nuno Campos
f037a2e9cb
Update docstring
2024-08-21 09:39:58 -07:00
Nuno Campos
aa1a6be160
Rename more
2024-08-21 09:36:21 -07:00
Nuno Campos
c9e6ee6da7
Rename
2024-08-21 09:34:12 -07:00
Nuno Campos
bd7b9cca21
WIP
2024-08-21 09:30:47 -07:00
Nuno Campos
b228fc1a9b
Add serde
2024-08-21 09:30:34 -07:00
Nuno Campos
c3794f1fd3
Use batched async kv inside loop
2024-08-21 09:30:22 -07:00
Nuno Campos
4e1db854f6
Add async test
2024-08-21 09:30:22 -07:00
Nuno Campos
630d9c79ed
Split out async batch to sep file
2024-08-21 09:30:22 -07:00
Nuno Campos
8f8f3849fc
Lint
2024-08-21 09:30:22 -07:00
Nuno Campos
656f89e16a
Lint
2024-08-21 09:30:22 -07:00
Nuno Campos
9b90a24d94
Lint
2024-08-21 09:30:22 -07:00
Nuno Campos
77d7deb033
Rename
2024-08-21 09:30:22 -07:00
Nuno Campos
7ca37afc74
Fix
2024-08-21 09:30:21 -07:00
Nuno Campos
2bc0e2df42
Fix
2024-08-21 09:30:21 -07:00
Nuno Campos
1dc09dc45f
Remove warning on write to managed channel
2024-08-21 09:30:21 -07:00
Nuno Campos
1cc02825ea
Add ScopedValue
...
- state shared between threads
2024-08-21 09:30:21 -07:00
Nuno Campos
d1b7a787ee
lib0.2.6
2024-08-21 09:22:27 -07:00
Nuno Campos and GitHub
f8b053a286
Enable raising Interrupt from inside a node, add list of current interrupts to get_state ( #1354 )
...
* Enable raising Interrupt from inside a node, add list of current interrupts to get_state
* Lint
* Allow multiple interrupt values in exception
* Better typings
* Fix some tests
* Fix up
* Lint
* Add test
* Lint
* WIP stay=True
* Fix tests for get_state
* Remove ids
* Fix step count
* 999
* less fun
* Undo
* Update debug interface
* Remove ability to pass multiple values
* Undo
2024-08-21 16:19:15 +00:00
David Duong and GitHub
ebf060675d
feat(js-sdk): add config and parent_config to thread state schema ( #1411 )
...
* feat(js-sdk): add config and parent_config to thread state schema
* Bump to 0.0.5
2024-08-21 17:00:10 +02:00
Nuno Campos
3d33b575d6
0.2.5
2024-08-20 16:59:04 -07: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
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