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
vbarda
71442916e5
lint
2024-08-23 14:52:31 -04:00
vbarda
1f29925034
add max recursion depth
2024-08-23 14:44:42 -04:00
Vadym Barda and GitHub
4c4d7054ab
Merge branch 'main' into vb/update-get-state
2024-08-23 14:27:40 -04:00
vbarda
1333d8b478
cleanup
2024-08-23 14:26:54 -04:00
vbarda
2bac0d0f41
re-trigger CI
2024-08-23 13:51:57 -04: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 and GitHub
0597aedaff
Merge pull request #1448 from langchain-ai/nc/22aug/serde-exceptions
...
Don't try to serialize exceptions
2024-08-22 21:41:06 -07:00
Nuno Campos
82db383199
Don't try to serialize exceptions
...
- Store their string repr instead
2024-08-22 21:36:27 -07:00
William FH and GitHub
dec7eb6f58
[Docs] Use injected RunnableConfig ( #1444 )
...
* Pass via type
* Format
2024-08-22 18:54:42 -07:00
vbarda
065055e587
small change
2024-08-22 20:37:48 -04:00
vbarda
4162be8119
optimize subgraph state lookups
2024-08-22 20:35:08 -04:00
Nuno Campos
6ece7124ed
Fix param name in docstring
2024-08-22 17:21:01 -07:00
Nuno Campos and GitHub
ffa9b8672a
Merge pull request #1445 from langchain-ai/nc/22aug/sdk-on-disconnect
...
sdk: Add on_disconnect arg to create/wait streaming run
2024-08-22 17:06:24 -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
cli==0.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
vbarda
9f6e57d2a7
more code review
2024-08-22 17:37:46 -04:00
vbarda
72893d9abb
code review
2024-08-22 17:33:17 -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
0.2.12
2024-08-22 21:23:48 +00:00
Nuno Campos and GitHub
0720b931e8
Merge pull request #1441 from langchain-ai/nc/22aug/test-checkpointers
...
Test all checkpointers everywhere we test 1 of them
2024-08-22 14:14:49 -07:00
vbarda
4935cf52bf
lint
2024-08-22 16:52:16 -04:00
Nuno Campos
45e3d1a3f1
Test all checkpointers everywhere we test 1 of them
2024-08-22 13:51:38 -07:00
vbarda
acd8acf237
lint
2024-08-22 16:47:12 -04:00
Nuno Campos
3ec419a2f6
lib0.2.12
checkpoint==1.0.4
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 and GitHub
96af4c72ce
Merge pull request #1439 from langchain-ai/nc/22aug/rm-unused-when-values
...
Remove unused when values for Interrupt
2024-08-22 12:38:28 -07:00
vbarda
6c7d9c35bc
remove interrupts
2024-08-22 15:37:20 -04:00
vbarda
5654d8fc86
Merge branch 'main' into vb/update-get-state
2024-08-22 15:34:14 -04: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
Vadym Barda and GitHub
078f9f7275
docs: fix manage conversation history how-to ( #1438 )
2024-08-22 14:56:34 -04:00
gbaian10 and GitHub
22f5367af7
langgraph: fix add_node input schema error ( #1332 )
2024-08-22 12:32:21 -04:00
Hassan Memon and GitHub
4e2b508ebb
docs: remove extra line from generate function ( #1392 )
2024-08-22 12:27:23 -04:00
Vadym Barda and GitHub
7ec3c0e827
langgraph: release 0.2.11 ( #1432 )
0.2.11
2024-08-22 11:54:47 -04:00
Nuno Campos and GitHub
82408bacf1
Merge pull request #1431 from langchain-ai/vb/fix-get-state-bug
...
langgraph: check for empty checkpoint when creating snapshot tasks
2024-08-22 08:52:00 -07:00
vbarda
9a306ce931
langgraph: check for empty checkpoint when creating snapshot tasks
2024-08-22 11:47:36 -04:00
Harrison Chase and GitHub
a9a59dd4e4
fix notebook ( #1422 )
2024-08-22 09:29:23 -04:00
Nuno Campos
a545a70afb
lib0.2.10
0.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
Vadym Barda and GitHub
426125cf96
Merge branch 'main' into vb/update-get-state
2024-08-21 19:20:20 -04:00