Tat Dat Duong
25239891bc
feat(cli): add detection for bun.lockb
2025-01-21 00:17:12 +01:00
Tat Dat Duong and Nuno Campos
e18f2b3795
fix(cli): warn users to use the JS cli for JS graphs
2025-01-17 16:07:31 -08:00
William FH and GitHub
a11f9b3535
Fix docstring in pg store init ( #3094 )
2025-01-18 00:03:51 +00:00
Nuno Campos and GitHub
29db5a8672
Implement get_graph for imperative api ( #3076 )
2025-01-17 15:53:50 -08:00
Nuno Campos
e4a5c8fd28
Fix two issues with task/stream timing
...
- both issues are related to the fact that waiters for futures are notified of completion before "done" callbacks are called
- 1st issue manifested as interrupt stream event being emitted before the result of a task that logically finished first (it's in the line above in body of the entrypoint function) -> this is solved by always returning to use code a fresh future chained on the original future, because chaining is done via done callbacks (therefore the chained future will only resolve after done callbacks of the original feature are called)
- 2nd issue mainfested as sometimes (very rarely) the last stream event not being printed before stream() finishes. this is solved by ensuring we only return out of PregelRunner.tick() once all "done" callbacks are called, previously we were approximating this through use of asyncio.sleep(0) / time.sleep(0). The new solution instead waits on a threading/asyncio.Event which will only be set by the last "done" callback to fire
2025-01-17 15:35:08 -08:00
Eugene Yurtsev and GitHub
71e6002a3c
docs: update broken api reference ( #3093 )
2025-01-17 17:04:54 -05:00
Vadym Barda and GitHub
eb33a873c8
langgraph: release 0.2.64 ( #3090 )
2025-01-17 15:18:34 -05:00
91aa66f4cf
tests: add tests for calling multiple subgraphs in a parent node ( #3070 )
...
Co-authored-by: Nuno Campos <nuno@langchain.dev >
2025-01-17 15:16:01 -05:00
Eugene Yurtsev and GitHub
727e3f1730
functional api: first pass at api reference ( #3083 )
...
First pass at the API reference for the functional API
2025-01-17 14:46:22 -05:00
Eugene Yurtsev
15c79dc3c3
x
2025-01-17 13:34:49 -05:00
Eugene Yurtsev
a65c9f1e04
x
2025-01-17 13:11:23 -05:00
9912ae1053
docs: add high level example into the readme, make examples collapsible ( #3052 )
...
Co-authored-by: Chester Curme <chester.curme@gmail.com >
2025-01-17 17:10:22 +00:00
Eugene Yurtsev
54115ac796
x
2025-01-17 09:58:06 -05:00
Nuno Campos
2cf98725c4
Lint
2025-01-16 16:32:39 -08:00
Nuno Campos
a33c59626a
Lint
2025-01-16 16:01:57 -08:00
Nuno Campos
56d3b759c7
Add one more test
2025-01-16 15:46:25 -08:00
Nuno Campos
32bf81c559
Lint
2025-01-16 14:10:16 -08:00
Nuno Campos
b98a7b09a3
Update
2025-01-16 13:44:19 -08:00
Nuno Campos
86b6afc982
Implement get_graph for imperative api
2025-01-16 13:44:18 -08:00
Eugene Yurtsev
a58f5dacca
x
2025-01-16 16:26:54 -05:00
Eugene Yurtsev
3a48049194
x
2025-01-16 16:19:23 -05:00
Eugene Yurtsev
e5f0db0af3
x
2025-01-16 16:09:11 -05:00
Eugene Yurtsev
83a7acc57c
Merge branch 'main' into eugene/expose_previous_state
2025-01-16 14:56:46 -05:00
Eugene Yurtsev
b218cc76a7
type ignore for now
2025-01-16 14:50:40 -05:00
Eugene Yurtsev
d021f476db
x
2025-01-16 14:23:32 -05:00
Eugene Yurtsev
46907b6cf9
x
2025-01-16 14:04:00 -05:00
Eugene Yurtsev
582856b30c
x
2025-01-16 14:00:42 -05:00
Eugene Yurtsev
e476897177
fix merge error
2025-01-16 13:58:55 -05:00
Eugene Yurtsev
421f7c0238
x
2025-01-16 13:55:41 -05:00
Eugene Yurtsev
3095bfce9c
Merge branch 'main' into eugene/expose_previous_state
2025-01-16 13:54:05 -05:00
Nuno Campos and GitHub
4cfe0b2d4c
tests: add a test for interrupt() w/ functional API ( #3065 )
2025-01-16 10:04:17 -08:00
Nuno Campos
a16def5140
Lint
2025-01-16 09:55:04 -08:00
Nuno Campos
8c88e203bc
Fix
2025-01-16 09:51:46 -08:00
vbarda
c4460e5dd2
add another test
2025-01-16 11:20:09 -05:00
Nuno Campos
46056363b3
Make config schema configurable for imperative api
2025-01-16 08:00:08 -08:00
Nuno Campos
ba672604a6
Implement input/output schemas for imperative api
2025-01-16 07:57:00 -08:00
vbarda
8b1597a385
tests: add a test for interrupt() w/ functional API
2025-01-16 10:16:26 -05:00
Vadym Barda and GitHub
adff439d4e
langgraph: release 0.2.63 ( #3064 )
2025-01-16 09:19:25 -05:00
Vadym Barda and GitHub
89b0be3a7d
checkpoint-postgres: release 2.0.13 ( #3063 )
2025-01-16 09:17:43 -05:00
Vadym Barda and GitHub
7ecda42b42
checkpoint-postgres: bring back missing migration ( #3058 )
2025-01-16 03:16:28 +00:00
Nuno Campos and GitHub
bd99471705
tests: Add test for catching bunching in streaming ( #3057 )
2025-01-15 18:57:07 -08:00
Nuno Campos
0e4dbb4c62
Guard
2025-01-15 18:36:49 -08:00
Nuno Campos
145220f2a8
Fix
2025-01-15 18:29:34 -08:00
Eugene Yurtsev
f9c25bba07
x
2025-01-15 21:15:38 -05:00
Eugene Yurtsev
7ecad39ecb
x
2025-01-15 21:15:05 -05:00
Nuno Campos and GitHub
6bfc6be307
Add support for multiple subgraphs called in a single node ( #3056 )
2025-01-15 18:01:31 -08:00
Nuno Campos
6b9369876f
Fix sync
2025-01-15 17:52:19 -08:00
Nuno Campos
c26b0e78b6
Fix kafka lib
2025-01-15 17:15:58 -08:00
Nuno Campos and GitHub
1763dd69a7
Add checkpointer=True mode for subgraphs that want to keep state between turns ( #3055 )
2025-01-15 16:08:03 -08:00
Nuno Campos
f4bd023ab1
Fix
2025-01-15 16:04:14 -08:00