[PR #773] [MERGED] fix(langgraph): Make streamMode updates yield a final interrupt event, values yield final values #1000

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

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/langgraphjs/pull/773
Author: @jacoblee93
Created: 1/5/2025
Status: Merged
Merged: 1/5/2025
Merged by: @jacoblee93

Base: mainHead: jacob/interrupt_event


📝 Commits (2)

  • 030d7fb Make streamMode updates yield a final interrupt event, values yield final values
  • 4043908 Fix lint

📊 Changes

6 files changed (+541 additions, -412 deletions)

View changed files

📝 docs/docs/how-tos/index.md (+2 -2)
📝 examples/how-tos/wait-user-input.ipynb (+205 -158)
📝 libs/langgraph/src/pregel/index.ts (+128 -82)
📝 libs/langgraph/src/pregel/io.ts (+8 -2)
📝 libs/langgraph/src/pregel/loop.ts (+185 -161)
📝 libs/langgraph/src/tests/pregel.test.ts (+13 -7)

📄 Description

Also refactors Pregel to more accurately reflect Python's context manager behavior

FYI @nfcampos @bracesproul @dqbd


🔄 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/773 **Author:** [@jacoblee93](https://github.com/jacoblee93) **Created:** 1/5/2025 **Status:** ✅ Merged **Merged:** 1/5/2025 **Merged by:** [@jacoblee93](https://github.com/jacoblee93) **Base:** `main` ← **Head:** `jacob/interrupt_event` --- ### 📝 Commits (2) - [`030d7fb`](https://github.com/langchain-ai/langgraphjs/commit/030d7fb46c04c68418dfe86a1d080f9f46ec45dd) Make streamMode updates yield a final interrupt event, values yield final values - [`4043908`](https://github.com/langchain-ai/langgraphjs/commit/4043908fe21cf7899caf36bf1923dfcbe6105b6f) Fix lint ### 📊 Changes **6 files changed** (+541 additions, -412 deletions) <details> <summary>View changed files</summary> 📝 `docs/docs/how-tos/index.md` (+2 -2) 📝 `examples/how-tos/wait-user-input.ipynb` (+205 -158) 📝 `libs/langgraph/src/pregel/index.ts` (+128 -82) 📝 `libs/langgraph/src/pregel/io.ts` (+8 -2) 📝 `libs/langgraph/src/pregel/loop.ts` (+185 -161) 📝 `libs/langgraph/src/tests/pregel.test.ts` (+13 -7) </details> ### 📄 Description Also refactors Pregel to more accurately reflect Python's context manager behavior FYI @nfcampos @bracesproul @dqbd --- <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:16:44 -05:00
yindo closed this issue 2026-02-15 19:16:44 -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#1000