gbaian10 and GitHub
22f5367af7
langgraph: fix add_node input schema error ( #1332 )
2024-08-22 12:32:21 -04:00
Vadym Barda and GitHub
7ec3c0e827
langgraph: release 0.2.11 ( #1432 )
2024-08-22 11:54:47 -04:00
vbarda
9a306ce931
langgraph: check for empty checkpoint when creating snapshot tasks
2024-08-22 11:47:36 -04:00
Nuno Campos
a545a70afb
lib0.2.10
2024-08-21 16:33:30 -07:00
Nuno Campos and GitHub
4521f9312d
Merge pull request #1420 from langchain-ai/nc/21aug/debug-mode-interrupts-errors
...
Add interrupts and errors to debug stream mode
2024-08-21 16:31:58 -07:00
Nuno Campos
d67419522d
Remove error
2024-08-21 16:27:23 -07:00
Nuno Campos
d85e267a83
Add interrupts and errors to debug stream mode
...
- move remaining output code from Pregel.stream to PregelLoop
2024-08-21 16:23:48 -07:00
Nuno Campos
37848a5361
cli: Add redis container to langgraph up
2024-08-21 14:37:36 -07:00
Nuno Campos
9147d05cc4
lib0.2.9
2024-08-21 14:32:15 -07:00
Nuno Campos and GitHub
46171dd759
Merge pull request #1418 from langchain-ai/nc/21aug/fix-pending-interrupt-run
...
Fix pending run when interrupt exception is used
2024-08-21 14:29:59 -07:00
Nuno Campos
47ed3d97e9
Fix pending run when interrupt exception is used
2024-08-21 14:25:00 -07:00
Nuno Campos and GitHub
06c2481783
Merge pull request #1415 from langchain-ai/nc/21aug/loop-rm-pregel-arg
...
Remove graph arg to PregelLoop
2024-08-21 14:24:40 -07:00
Vadym Barda and GitHub
1907646bd4
sdk-py: release 0.1.28 ( #1417 )
2024-08-21 17:10:18 -04:00
Vadym Barda and GitHub
3a65f83ae1
sdk-py: allow passing custom headers ( #1416 )
2024-08-21 21:05:03 +00:00
Nuno Campos
02697b5712
Remove graph arg to PregelLoop
2024-08-21 13:45:42 -07:00
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