Nuno Campos
bc482431c3
lib0.2.13
2024-08-23 13:35:21 -07:00
Nuno Campos
e8c553c41e
Lint
2024-08-23 13:12:46 -07:00
Nuno Campos
beafddf7c8
Lint
2024-08-23 13:09:28 -07:00
1e6da19257
Update libs/langgraph/langgraph/managed/context.py
...
Co-authored-by: William FH <13333726+hinthornw@users.noreply.github.com >
2024-08-23 13:08:56 -07:00
Nuno Campos
e0898409b9
Lint
2024-08-23 12:57:31 -07:00
Nuno Campos
bc86757e73
lib: Context values never stored in checkpoints
...
- Convert Context to a ManagedValue
- Add shim for old Context constructor
- Add `runtime` flag for managed values, which, prior to serialization, replaces the value with a placeholder, and replaces it back with the actual value on resuming from checkpoint
2024-08-23 12:46:31 -07:00
David Duong and GitHub
ed7b2c9e8a
Merge pull request #1443 from langchain-ai:dqbd/js-sdk-end-event
...
fix(sdk-js): support sending end events
2024-08-23 16:48:02 +02:00
Nuno Campos
82db383199
Don't try to serialize exceptions
...
- Store their string repr instead
2024-08-22 21:36:27 -07:00
Nuno Campos
6ece7124ed
Fix param name in docstring
2024-08-22 17:21:01 -07:00
Nuno Campos
19b382335f
sdk: Add on_disconnect arg to create/wait streaming run
2024-08-22 17:03:11 -07:00
Tat Dat Duong
c72acc9145
Add missing status
2024-08-23 01:38:53 +02:00
Nuno Campos and GitHub
c30aa1ca13
Merge pull request #1337 from langchain-ai/nc/13aug/sdk-py-join-stream
...
sdk-py: Add Runs.join_stream endpoint
2024-08-22 15:38:23 -07:00
Nuno Campos
15c3105748
cli0.1.51
2024-08-22 15:37:02 -07:00
Tat Dat Duong
0b7f451b40
Bump to 0.0.6
2024-08-23 00:18:28 +02:00
Tat Dat Duong
75dec9b924
fix(sdk-js): support sending end events
2024-08-23 00:18:06 +02: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
7074604204
Try to improve async stack traces for exceptions in tasks ( #1442 )
...
* Try to improve async stack traces for exceptions in tasks
* Lint
2024-08-22 21:23:48 +00:00
Nuno Campos
45e3d1a3f1
Test all checkpointers everywhere we test 1 of them
2024-08-22 13:51:38 -07:00
Nuno Campos
3ec419a2f6
lib0.2.12
2024-08-22 12:45:27 -07:00
Nuno Campos
8a00a0026e
checkpoint1.0.4
2024-08-22 12:45:20 -07: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
Nuno Campos
f93512e3b3
Remove unused when values for Interrupt
2024-08-22 12:33:25 -07: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
38daba5259
Better error messages for invalid update in all channel types ( #1437 )
...
* langgraph: support multiple edges for Topic channel annotations
* remove support_multiple_edges
* Better error messages for invalid update in all channel types
---------
Co-authored-by: vbarda <vadym@langchain.dev >
2024-08-22 18:59:29 +00:00
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