Commit Graph
6682 Commits
Author SHA1 Message Date
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 BardaandGitHub 5d4b276af2 ci: remove preview step (#1675) 2024-09-10 18:25:13 +00:00
jessicaouandGitHub acd8325402 adding langchain academy link (#1643) 2024-09-10 12:04:19 -04:00
Vadym BardaandGitHub ed0f55af85 docs: clean up how-to docs to make them runnable (#1666) 2024-09-10 01:56:51 +00:00
Vadym BardaandGitHub 215b87244b docs: update dependencies in setup docs (#1664) 2024-09-09 20:08:16 -04:00
Nuno CamposandGitHub ad04d4e154 Merge pull request #1658 from os1ma/fix-typo-node-interupt
docs: fix typo `NodeInterupt`
2024-09-09 09:35:11 -07:00
David DuongandGitHub 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 BardaandGitHub 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 SproulandGitHub 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 SproulandGitHub 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
Nuno CamposandGitHub a424eb40bb Merge pull request #1641 from langchain-ai/wfh/output_schema
Support optional fields in the output schema when defining as Dataclass or TypedDict
2024-09-06 13:55:49 -07:00
Vadym BardaandGitHub 40dd40a867 docs: fix indents for the markdown callouts (#1644)
* docs: fix indents for the markdown callouts
2024-09-06 20:54:37 +00: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 142db1f020 fix links in the reference 2024-09-06 16:37:56 -04: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 BardaandGitHub 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
Nuno CamposandGitHub 5305cb7149 Merge pull request #1642 from langchain-ai/wfh/disallow_managed_io
Assert input/output channels aren't managed
2024-09-06 12:57:01 -07: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 FHandGitHub 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 0.2.19 2024-09-06 09:29:24 -07:00
Nuno CamposandGitHub b329164c6c Merge pull request #1638 from langchain-ai/nc/6sep/fix-debug-task-event-timing
Fix timing of debug task events
2024-09-06 09:29:00 -07:00