[PR #1244] [MERGED] feat(langgraph): return interrupts with streamMode: "values" #1325

Closed
opened 2026-02-15 20:15:17 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/langgraphjs/pull/1244
Author: @dqbd
Created: 5/30/2025
Status: Merged
Merged: 5/30/2025
Merged by: @dqbd

Base: mainHead: dqbd/interrupt-values


📝 Commits (6)

📊 Changes

11 files changed (+306 additions, -58 deletions)

View changed files

📝 libs/langgraph/src/constants.ts (+27 -3)
📝 libs/langgraph/src/pregel/index.ts (+25 -2)
📝 libs/langgraph/src/pregel/loop.ts (+3 -6)
📝 libs/langgraph/src/pregel/types.ts (+2 -3)
📝 libs/langgraph/src/tests/func.test.ts (+102 -9)
📝 libs/langgraph/src/tests/pregel.test-d.ts (+13 -2)
📝 libs/langgraph/src/tests/pregel.test.ts (+67 -11)
📝 libs/langgraph/src/tests/python_port/checkpoint.test.ts (+17 -3)
📝 libs/langgraph/src/tests/python_port/graph_structure.test.ts (+7 -17)
📝 libs/langgraph/src/tests/python_port/interrupt.test.ts (+41 -2)
📝 libs/langgraph/src/web.ts (+2 -0)

📄 Description

Partial port of https://github.com/langchain-ai/langgraph/pull/4374, does not tackle multi-resumes for now


🔄 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/1244 **Author:** [@dqbd](https://github.com/dqbd) **Created:** 5/30/2025 **Status:** ✅ Merged **Merged:** 5/30/2025 **Merged by:** [@dqbd](https://github.com/dqbd) **Base:** `main` ← **Head:** `dqbd/interrupt-values` --- ### 📝 Commits (6) - [`eb1bea1`](https://github.com/langchain-ai/langgraphjs/commit/eb1bea17892f8a53433563b9755f2e39f64d4134) feat(langgraph): return interrupts with `streamMode: "values"` - [`c9ca890`](https://github.com/langchain-ai/langgraphjs/commit/c9ca890e31589eaace7e06dd80ad67e5a7d262a1) Remove unnecessary intersection - [`f7184db`](https://github.com/langchain-ai/langgraphjs/commit/f7184db716c1d6a9324d3e64b81c6896686b520c) Add tests for types - [`3819b3e`](https://github.com/langchain-ai/langgraphjs/commit/3819b3e211074cf7475c3a61ee4c02b5ffed0b71) Use type asserts instead - [`95321d7`](https://github.com/langchain-ai/langgraphjs/commit/95321d7e3818b891f9fc0ad3724e15f887c17eb5) Code review - [`d70be99`](https://github.com/langchain-ai/langgraphjs/commit/d70be99595ad216670ebe3596d0b79b64cd66c6d) Fix build ### 📊 Changes **11 files changed** (+306 additions, -58 deletions) <details> <summary>View changed files</summary> 📝 `libs/langgraph/src/constants.ts` (+27 -3) 📝 `libs/langgraph/src/pregel/index.ts` (+25 -2) 📝 `libs/langgraph/src/pregel/loop.ts` (+3 -6) 📝 `libs/langgraph/src/pregel/types.ts` (+2 -3) 📝 `libs/langgraph/src/tests/func.test.ts` (+102 -9) 📝 `libs/langgraph/src/tests/pregel.test-d.ts` (+13 -2) 📝 `libs/langgraph/src/tests/pregel.test.ts` (+67 -11) 📝 `libs/langgraph/src/tests/python_port/checkpoint.test.ts` (+17 -3) 📝 `libs/langgraph/src/tests/python_port/graph_structure.test.ts` (+7 -17) 📝 `libs/langgraph/src/tests/python_port/interrupt.test.ts` (+41 -2) 📝 `libs/langgraph/src/web.ts` (+2 -0) </details> ### 📄 Description Partial port of https://github.com/langchain-ai/langgraph/pull/4374, does not tackle multi-resumes for now --- <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 20:15:17 -05:00
yindo closed this issue 2026-02-15 20:15:17 -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#1325