Nuno Campos
34d530d5d8
Fix
2024-09-10 17:24:24 -07:00
Nuno Campos
2b09c284d4
Remove empty build job
2024-09-10 17:22:48 -07:00
Nuno Campos
77083bf634
Disable test jobs for now
2024-09-10 17:22:06 -07:00
Nuno Campos
5de46f7472
Update stop condition for drain
2024-09-10 16:52:09 -07:00
vbarda
bb10acbe28
update cache keys
2024-09-10 19:51:23 -04: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
fed6499a2e
Run ci for kafka lib
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
Vadym Barda and GitHub
5d4b276af2
ci: remove preview step ( #1675 )
2024-09-10 18:25:13 +00:00
jessicaou and GitHub
acd8325402
adding langchain academy link ( #1643 )
2024-09-10 12:04:19 -04:00
Vadym Barda and GitHub
ed0f55af85
docs: clean up how-to docs to make them runnable ( #1666 )
2024-09-10 01:56:51 +00:00
Vadym Barda and GitHub
215b87244b
docs: update dependencies in setup docs ( #1664 )
2024-09-09 20:08:16 -04:00
Nuno Campos and GitHub
ad04d4e154
Merge pull request #1658 from os1ma/fix-typo-node-interupt
...
docs: fix typo `NodeInterupt`
2024-09-09 09:35:11 -07:00
David Duong and GitHub
ba5cf0d00f
Merge pull request #1661 from langchain-ai/dqbd/sdk-js-fetch-types
...
fix(js): don't be strict on JS types for custom fetch
2024-09-09 18:00:34 +02: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
Yuki Oshima
394ce83bb1
docs: fix typo NodeInterupt
2024-09-09 16:59:42 +09:00
1c9b1d29c3
docs: add page on creating react agent from scratch ( #1626 )
...
---------
Co-authored-by: vbarda <vadym@langchain.dev >
2024-09-08 16:58:55 +00:00
db306cd01b
doc updates ( #1639 )
...
---------
Co-authored-by: vbarda <vadym@langchain.dev >
2024-09-08 16:55:52 +00:00
38a644cf79
docs: how-to for finding graph runs in LangSmith ( #1631 )
...
---------
Co-authored-by: Vadym Barda <vadym@langchain.dev >
2024-09-08 14:59:44 +00:00
2c088fa1bb
docs: fix broken link ( #1652 )
...
* fix broken link
* actually fix link
---------
Co-authored-by: vbarda <vadym@langchain.dev >
2024-09-08 14:36:59 +00: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
Brace Sproul and GitHub
9302a589e0
Merge pull request #1646 from langchain-ai/brace/agent-survey-docs
...
docs[minor]: Add state of agents survey to docs announcement bar
2024-09-06 15:48:58 -07:00
Brace Sproul and GitHub
8f91ad005b
Merge branch 'main' into brace/agent-survey-docs
2024-09-06 14:36:46 -07:00
bracesproul
5b511a2386
docs[minor]: Add state of agents survey to docs announcement bar
2024-09-06 14:35:54 -07:00