[PR #499] [MERGED] feat: Adds support for subgraph interrupts, streaming, update/get state, and send API #807

Closed
opened 2026-02-15 19:15:58 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/langgraphjs/pull/499
Author: @jacoblee93
Created: 9/20/2024
Status: Merged
Merged: 9/26/2024
Merged by: @jacoblee93

Base: mainHead: jacob/subgraphs


📝 Commits (10+)

📊 Changes

26 files changed (+3851 additions, -811 deletions)

View changed files

📝 libs/checkpoint-mongodb/src/tests/checkpoints.int.test.ts (+2 -2)
📝 libs/checkpoint-sqlite/src/tests/checkpoints.test.ts (+2 -2)
📝 libs/checkpoint/src/memory.ts (+74 -66)
📝 libs/checkpoint/src/tests/checkpoints.test.ts (+2 -1)
📝 libs/checkpoint/src/types.ts (+6 -0)
📝 libs/langgraph/src/constants.ts (+14 -1)
📝 libs/langgraph/src/errors.ts (+8 -5)
📝 libs/langgraph/src/graph/graph.ts (+10 -4)
📝 libs/langgraph/src/graph/state.ts (+12 -6)
📝 libs/langgraph/src/managed/shared_value.ts (+1 -1)
📝 libs/langgraph/src/pregel/algo.ts (+207 -63)
📝 libs/langgraph/src/pregel/debug.ts (+21 -30)
📝 libs/langgraph/src/pregel/index.ts (+384 -139)
📝 libs/langgraph/src/pregel/io.ts (+23 -15)
📝 libs/langgraph/src/pregel/loop.ts (+360 -159)
📝 libs/langgraph/src/pregel/read.ts (+6 -2)
📝 libs/langgraph/src/pregel/retry.ts (+1 -1)
📝 libs/langgraph/src/pregel/types.ts (+6 -1)
libs/langgraph/src/pregel/utils/config.ts (+80 -0)
📝 libs/langgraph/src/pregel/utils/index.ts (+42 -11)

...and 6 more files

📄 Description

No description provided


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langchain-ai/langgraphjs/pull/499 **Author:** [@jacoblee93](https://github.com/jacoblee93) **Created:** 9/20/2024 **Status:** ✅ Merged **Merged:** 9/26/2024 **Merged by:** [@jacoblee93](https://github.com/jacoblee93) **Base:** `main` ← **Head:** `jacob/subgraphs` --- ### 📝 Commits (10+) - [`a6c49cf`](https://github.com/langchain-ai/langgraphjs/commit/a6c49cf44e80cc4d9ef65129a9d7dbc5719f5505) Start subgraph implementation - [`712c117`](https://github.com/langchain-ai/langgraphjs/commit/712c1179622bdc17f1b6ae5cf6666582796503d2) Merge branch 'main' of https://github.com/langchain-ai/langgraphjs into jacob/subgraphs - [`975f292`](https://github.com/langchain-ai/langgraphjs/commit/975f29249a37bb4f7e1e56f5b1d5060087f02faf) Populate checkpoint maps on internal tasks, add parents field to metadata - [`a2c4715`](https://github.com/langchain-ai/langgraphjs/commit/a2c471582d0af9c9e7faa1e1a24c950bc7950e02) Fix build - [`24156d8`](https://github.com/langchain-ai/langgraphjs/commit/24156d840c73b9528fa64b635d59da51ac8188b6) Format - [`a6b8ac4`](https://github.com/langchain-ai/langgraphjs/commit/a6b8ac40ec202e3c224766952c5905ee05b38e81) Update getStateHistory to account for subgraphs - [`2cbbb9c`](https://github.com/langchain-ai/langgraphjs/commit/2cbbb9c8657f4b753334d56eaa1e893b0ede10f9) Refactor task execution - [`5ddfd98`](https://github.com/langchain-ai/langgraphjs/commit/5ddfd98be85961e8d7bda56f101fc3ecee8f6279) Working basic subgraph resumption - [`f0e4ffe`](https://github.com/langchain-ai/langgraphjs/commit/f0e4ffe864d0c9ed9a54e3ff9afa021792da2244) Merge branch 'main' of https://github.com/langchain-ai/langgraphjs into jacob/subgraphs - [`3a370ce`](https://github.com/langchain-ai/langgraphjs/commit/3a370ce893d22bc3cc447d5f50b11fbf7ab35636) Merge branch 'main' of https://github.com/langchain-ai/langgraphjs into jacob/subgraphs ### 📊 Changes **26 files changed** (+3851 additions, -811 deletions) <details> <summary>View changed files</summary> 📝 `libs/checkpoint-mongodb/src/tests/checkpoints.int.test.ts` (+2 -2) 📝 `libs/checkpoint-sqlite/src/tests/checkpoints.test.ts` (+2 -2) 📝 `libs/checkpoint/src/memory.ts` (+74 -66) 📝 `libs/checkpoint/src/tests/checkpoints.test.ts` (+2 -1) 📝 `libs/checkpoint/src/types.ts` (+6 -0) 📝 `libs/langgraph/src/constants.ts` (+14 -1) 📝 `libs/langgraph/src/errors.ts` (+8 -5) 📝 `libs/langgraph/src/graph/graph.ts` (+10 -4) 📝 `libs/langgraph/src/graph/state.ts` (+12 -6) 📝 `libs/langgraph/src/managed/shared_value.ts` (+1 -1) 📝 `libs/langgraph/src/pregel/algo.ts` (+207 -63) 📝 `libs/langgraph/src/pregel/debug.ts` (+21 -30) 📝 `libs/langgraph/src/pregel/index.ts` (+384 -139) 📝 `libs/langgraph/src/pregel/io.ts` (+23 -15) 📝 `libs/langgraph/src/pregel/loop.ts` (+360 -159) 📝 `libs/langgraph/src/pregel/read.ts` (+6 -2) 📝 `libs/langgraph/src/pregel/retry.ts` (+1 -1) 📝 `libs/langgraph/src/pregel/types.ts` (+6 -1) ➕ `libs/langgraph/src/pregel/utils/config.ts` (+80 -0) 📝 `libs/langgraph/src/pregel/utils/index.ts` (+42 -11) _...and 6 more files_ </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-15 19:15:58 -05:00
yindo closed this issue 2026-02-15 19:15:58 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/langgraphjs#807