[PR #1354] [MERGED] Enable raising Interrupt from inside a node, add list of current interrupts to get_state #2033

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

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/langgraph/pull/1354
Author: @nfcampos
Created: 8/14/2024
Status: Merged
Merged: 8/21/2024
Merged by: @nfcampos

Base: mainHead: nc/14aug/dynamic-interrupt


📝 Commits (10+)

📊 Changes

11 files changed (+474 additions, -120 deletions)

View changed files

📝 libs/langgraph/langgraph/constants.py (+10 -1)
📝 libs/langgraph/langgraph/errors.py (+13 -1)
📝 libs/langgraph/langgraph/pregel/__init__.py (+109 -29)
📝 libs/langgraph/langgraph/pregel/algo.py (+15 -10)
📝 libs/langgraph/langgraph/pregel/debug.py (+13 -5)
📝 libs/langgraph/langgraph/pregel/loop.py (+15 -8)
📝 libs/langgraph/langgraph/pregel/types.py (+2 -0)
📝 libs/langgraph/pyproject.toml (+1 -1)
📝 libs/langgraph/tests/__snapshots__/test_pregel.ambr (+18 -0)
📝 libs/langgraph/tests/test_pregel.py (+146 -30)
📝 libs/langgraph/tests/test_pregel_async.py (+132 -35)

📄 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/langgraph/pull/1354 **Author:** [@nfcampos](https://github.com/nfcampos) **Created:** 8/14/2024 **Status:** ✅ Merged **Merged:** 8/21/2024 **Merged by:** [@nfcampos](https://github.com/nfcampos) **Base:** `main` ← **Head:** `nc/14aug/dynamic-interrupt` --- ### 📝 Commits (10+) - [`cb20e53`](https://github.com/langchain-ai/langgraph/commit/cb20e53a0c53c394842e195f84d01c8ff16090ce) Enable raising Interrupt from inside a node, add list of current interrupts to get_state - [`8fb072b`](https://github.com/langchain-ai/langgraph/commit/8fb072bc20fa3a1ec8c75030519e4d390425eca7) Lint - [`e2697ea`](https://github.com/langchain-ai/langgraph/commit/e2697eacaed35c2d1049f7df502911a137a81ec2) Allow multiple interrupt values in exception - [`acbf4c0`](https://github.com/langchain-ai/langgraph/commit/acbf4c02170a98e2f3275e8eafe4206c0c3c1689) Better typings - [`5aa5bf6`](https://github.com/langchain-ai/langgraph/commit/5aa5bf65f7080d0b0bae072dd1128db323467413) Fix some tests - [`5e4a02b`](https://github.com/langchain-ai/langgraph/commit/5e4a02b887a11c5740b4225431ee30abbed9fb2e) Fix up - [`88cab05`](https://github.com/langchain-ai/langgraph/commit/88cab05e15f166e60b815e8f2a6f833bb6831efc) Lint - [`8d49898`](https://github.com/langchain-ai/langgraph/commit/8d49898e4d8ebeea262de144b8d4c14be78edca1) Add test - [`4a9a283`](https://github.com/langchain-ai/langgraph/commit/4a9a283ed5ecbf9128fbcd3854ec9f68ec28522f) Lint - [`b488c59`](https://github.com/langchain-ai/langgraph/commit/b488c596c3cf389f125f7b1cf874ece751a84fdc) WIP stay=True ### 📊 Changes **11 files changed** (+474 additions, -120 deletions) <details> <summary>View changed files</summary> 📝 `libs/langgraph/langgraph/constants.py` (+10 -1) 📝 `libs/langgraph/langgraph/errors.py` (+13 -1) 📝 `libs/langgraph/langgraph/pregel/__init__.py` (+109 -29) 📝 `libs/langgraph/langgraph/pregel/algo.py` (+15 -10) 📝 `libs/langgraph/langgraph/pregel/debug.py` (+13 -5) 📝 `libs/langgraph/langgraph/pregel/loop.py` (+15 -8) 📝 `libs/langgraph/langgraph/pregel/types.py` (+2 -0) 📝 `libs/langgraph/pyproject.toml` (+1 -1) 📝 `libs/langgraph/tests/__snapshots__/test_pregel.ambr` (+18 -0) 📝 `libs/langgraph/tests/test_pregel.py` (+146 -30) 📝 `libs/langgraph/tests/test_pregel_async.py` (+132 -35) </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-20 17:46:08 -05:00
yindo closed this issue 2026-02-20 17:46:08 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/langgraph#2033