Nuno Campos
5de46f7472
Update stop condition for drain
2024-09-10 16:52:09 -07:00
Nuno Campos
bdabb723b0
Add langgraph dep
2024-09-10 16:39:34 -07:00
Nuno Campos
edc0fd0210
Remove extraneous asserts
2024-09-10 16:20:45 -07:00
Nuno Campos
3886b76771
Lint
2024-09-10 16:17:22 -07:00
Nuno Campos
3a65460767
Use anyio for timeout in dran test helper
2024-09-10 16:17:22 -07:00
Nuno Campos
5e0273886e
Lint
2024-09-10 16:17:22 -07:00
Nuno Campos
943cc4d83a
Add readme, lint
2024-09-10 16:17:22 -07:00
Nuno Campos
270559b880
Implement changes in sqlite checkpointer
2024-09-10 16:17:22 -07:00
Nuno Campos
98b8595a94
Move to dev deps
2024-09-10 16:17:22 -07:00
Nuno Campos
f7dffa023c
Implement subgraph delegation for distributed arch
2024-09-10 16:17:22 -07:00
Nuno Campos
7dc69a543d
Rename
2024-09-10 16:17:22 -07:00
Nuno Campos
8f91402642
Use thread_id for partition key, ignore tasks for stale checkpoints
2024-09-10 16:17:22 -07:00
Nuno Campos
030d6d2def
Fix subgraph test
2024-09-10 16:17:22 -07:00
Nuno Campos
ad7dd0dbb7
Add drain_topics test helper
2024-09-10 16:17:22 -07:00
Nuno Campos
0eb11a3cf9
Remove is_resuming arg
2024-09-10 16:17:22 -07:00
Nuno Campos
1ce8d628f2
In update state skip nodes not found in instance
...
eg, because removed since
2024-09-10 16:17:22 -07:00
Nuno Campos
5e6b58f847
Remove double shield usage
...
- we already shield from cancellation in PregelLoop so shouldnt be repeating in AsyncBackgroundExecutor
2024-09-10 16:17:22 -07:00
Nuno Campos
b13db42568
WIP Subgraphs
2024-09-10 16:17:22 -07:00
Nuno Campos
83d36761a4
Rename compose projects
2024-09-10 16:17:22 -07:00
Nuno Campos
d206621230
Rename test
2024-09-10 16:17:22 -07:00
Nuno Campos
8e6caab78c
Add test for interrupts
2024-09-10 16:17:22 -07:00
Nuno Campos
ad463ec90a
Add more test assertions
2024-09-10 16:17:22 -07:00
Nuno Campos
2d02e5e0c5
Add error topic, add retries (eg for checkpointer database exceptions)
2024-09-10 16:17:22 -07:00
Nuno Campos
5b3bd920d8
Catch errors thrown by nodes run by Executor
2024-09-10 16:17:22 -07:00
Nuno Campos
f09b130837
Use pool for postgres checkpointer
2024-09-10 16:17:22 -07:00
Nuno Campos
e6d6f565a5
Improvements to consumer and producer patterns
...
- await future returned by send() instead of flush()
- use consumer groups by default
- process tasks in batches by default, configurable
- manually commit offsets when batch is processed
2024-09-10 16:17:22 -07:00
Nuno Campos
dc5be3fd58
Rename
2024-09-10 16:17:22 -07:00
Nuno Campos
381ea9cec8
Rename
2024-09-10 16:17:22 -07:00
Nuno Campos
841aabf5b3
Implement LangGraph Scheduler for Kafka
...
- Orchestrator and Executor classes to run LangGraph in a distributed fashion using Kafka as a message bus for communication
- Orchestrator and Executor run on-demand when a new message is published to the topic they listen to
- Orchestrator is responsible for running the Pregel algorithm (deciding next tasks to run) and sending messages to the executor topic
- Executor is responsible for executing each task (node), and sending messages to the orchestrator topic when done
2024-09-10 16:17:22 -07:00
jessicaou and GitHub
acd8325402
adding langchain academy link ( #1643 )
2024-09-10 12:04:19 -04:00
Tat Dat Duong
58c34cf40c
fix(js): don't be strict on JS types for custom fetch
2024-09-09 17:48:55 +02:00
Vadym Barda and GitHub
282562f182
langgraph: add tests for MessagesState/AnyMessage ( #1637 )
...
* langgraph: add tests for MessagesState/AnyMessage
* bump to 0.3.0.dev4
* update
* update snapshots
2024-09-07 17:00:41 -04:00
William Fu-Hinthorn
4aa28fb55f
Merge
2024-09-06 13:46:16 -07:00
William Fu-Hinthorn
822bdea146
update ye ol' snapshots
2024-09-06 13:40:45 -07:00
vbarda
6fd6ef43f6
lint
2024-09-06 16:28:05 -04:00
vbarda
7f3c6e3d2f
Merge branch 'main' into vb/add-sync-client
2024-09-06 16:24:28 -04:00
Vadym Barda and GitHub
b4fe54623d
sdk-js: add missing methods ( #1640 )
2024-09-06 16:23:47 -04:00
vbarda
7233b06c2b
update sync
2024-09-06 16:23:17 -04:00
William Fu-Hinthorn
cc55adac46
icanspell
2024-09-06 12:50:53 -07:00
William Fu-Hinthorn
1832ed46ef
Assert input/output channels aren't managed
2024-09-06 12:46:12 -07:00
vbarda
a73484d336
rename back
2024-09-06 15:33:29 -04:00
William Fu-Hinthorn
e86330ab05
Exclude shared
2024-09-06 12:28:33 -07:00
vbarda
a52f397db8
Merge branch 'main' into vb/add-sync-client
2024-09-06 15:28:24 -04:00
William Fu-Hinthorn
093dab1035
Update test
2024-09-06 12:09:37 -07:00
William Fu-Hinthorn
fd36ed794c
Merge branch 'main' into wfh/output_schema
2024-09-06 12:04:16 -07:00
William FH and GitHub
ec4e92792d
Optional types for dataclass state defs ( #1557 )
2024-09-06 11:50:45 -07:00
William Fu-Hinthorn
587335bfe6
Support optional output schema
2024-09-06 11:29:43 -07:00
Nuno Campos
a9ccd0fd79
langgraph 0.2.19
2024-09-06 09:29:24 -07:00
Nuno Campos
61ca2444c0
Fix timing of debug task events
2024-09-06 09:17:36 -07:00
28581e047a
Support pydantic & dataclasses in ToolNode ( #1625 )
...
Co-authored-by: Abinash Panda <abinashpanda205@gmail.com >
2024-09-06 07:39:49 -07:00