[PR #791] [MERGED] patch(langgraph): Refactor pregel loop to use new PregelRunner class, ported from python LangGraph. #1016

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

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/langgraphjs/pull/791
Author: @benjamincburns
Created: 1/20/2025
Status: Merged
Merged: 1/21/2025
Merged by: @benjamincburns

Base: mainHead: ben/pregel-runner


📝 Commits (1)

  • 261cef4 Initial PregelRunner port

📊 Changes

5 files changed (+365 additions, -222 deletions)

View changed files

📝 libs/langgraph/src/errors.ts (+4 -6)
📝 libs/langgraph/src/pregel/index.ts (+74 -122)
📝 libs/langgraph/src/pregel/loop.ts (+32 -21)
📝 libs/langgraph/src/pregel/retry.ts (+39 -73)
libs/langgraph/src/pregel/runner.ts (+216 -0)

📄 Description

This work is a prerequisite to porting the imperative (functional?) API over from python LangGraph.


🔄 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/791 **Author:** [@benjamincburns](https://github.com/benjamincburns) **Created:** 1/20/2025 **Status:** ✅ Merged **Merged:** 1/21/2025 **Merged by:** [@benjamincburns](https://github.com/benjamincburns) **Base:** `main` ← **Head:** `ben/pregel-runner` --- ### 📝 Commits (1) - [`261cef4`](https://github.com/langchain-ai/langgraphjs/commit/261cef4d492ffd2638773fdb62f6a2db71b7f994) Initial PregelRunner port ### 📊 Changes **5 files changed** (+365 additions, -222 deletions) <details> <summary>View changed files</summary> 📝 `libs/langgraph/src/errors.ts` (+4 -6) 📝 `libs/langgraph/src/pregel/index.ts` (+74 -122) 📝 `libs/langgraph/src/pregel/loop.ts` (+32 -21) 📝 `libs/langgraph/src/pregel/retry.ts` (+39 -73) ➕ `libs/langgraph/src/pregel/runner.ts` (+216 -0) </details> ### 📄 Description This work is a prerequisite to porting the imperative (functional?) API over from python LangGraph. --- <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:48 -05:00
yindo closed this issue 2026-02-15 19:16:48 -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#1016