[PR #370] [MERGED] Implement stream_mode=debug #1413

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

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/langgraph/pull/370
Author: @nfcampos
Created: 4/30/2024
Status: Merged
Merged: 4/30/2024
Merged by: @nfcampos

Base: mainHead: nc/30apr/stream-mode-debug


📝 Commits (1)

  • 5e322a6 Implement stream_mode=debug

📊 Changes

7 files changed (+864 additions, -54 deletions)

View changed files

📝 langgraph/pregel/__init__.py (+93 -36)
📝 langgraph/pregel/debug.py (+115 -15)
📝 langgraph/pregel/io.py (+2 -2)
📝 langgraph/pregel/types.py (+2 -1)
📝 langgraph/pregel/validate.py (+4 -0)
📝 tests/test_pregel.py (+322 -0)
📝 tests/test_pregel_async.py (+326 -0)

📄 Description

  • outputs 3 types of payloads
    • task: node about to be executed
    • task_result: result of node execution
    • checkpoint: state values at end of superstep

🔄 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/370 **Author:** [@nfcampos](https://github.com/nfcampos) **Created:** 4/30/2024 **Status:** ✅ Merged **Merged:** 4/30/2024 **Merged by:** [@nfcampos](https://github.com/nfcampos) **Base:** `main` ← **Head:** `nc/30apr/stream-mode-debug` --- ### 📝 Commits (1) - [`5e322a6`](https://github.com/langchain-ai/langgraph/commit/5e322a6550b067a83ac771009689982c8f80c9a5) Implement stream_mode=debug ### 📊 Changes **7 files changed** (+864 additions, -54 deletions) <details> <summary>View changed files</summary> 📝 `langgraph/pregel/__init__.py` (+93 -36) 📝 `langgraph/pregel/debug.py` (+115 -15) 📝 `langgraph/pregel/io.py` (+2 -2) 📝 `langgraph/pregel/types.py` (+2 -1) 📝 `langgraph/pregel/validate.py` (+4 -0) 📝 `tests/test_pregel.py` (+322 -0) 📝 `tests/test_pregel_async.py` (+326 -0) </details> ### 📄 Description - outputs 3 types of payloads - task: node about to be executed - task_result: result of node execution - checkpoint: state values at end of superstep --- <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:44:40 -05:00
yindo closed this issue 2026-02-20 17:44:40 -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#1413