[PR #1767] [CLOSED] docs: add missing Graph API code to Orchestrator-worker section #1837

Closed
opened 2026-02-17 17:22:47 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/docs/pull/1767
Author: @nathannewyen
Created: 12/6/2025
Status: Closed

Base: mainHead: fix/1722-add-missing-graph-api-code


📝 Commits (1)

  • 081755a docs: add missing Graph API code to Orchestrator-worker section

📊 Changes

1 file changed (+171 additions, -0 deletions)

View changed files

📝 src/oss/langgraph/workflows-agents.mdx (+171 -0)

📄 Description

Overview

  • Added complete Graph API implementation for both Python and JavaScript in the Orchestrator-worker section
  • The original code blocks only contained schema definitions without the actual workflow implementation

Type of change

  • Fix typo/bug/link/formatting

Related issues/PRs

fixes #1722

Checklist

  • I have read the contributing guidelines
  • I have tested my changes locally using docs dev
  • All code examples have been tested and work correctly
  • I have used root relative paths for internal links
  • I have updated the navigation in src/docs.json if needed (N/A)

Additional notes

The Graph API code blocks were incomplete compared to their Functional API counterparts. Added:

  • State and WorkerState definitions
  • Node functions (orchestrator, llmCall, synthesizer)
  • Conditional edge function using Send API for parallel workers
  • StateGraph workflow building, compilation, and invocation

🤖 Generated with Claude Code


🔄 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/docs/pull/1767 **Author:** [@nathannewyen](https://github.com/nathannewyen) **Created:** 12/6/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix/1722-add-missing-graph-api-code` --- ### 📝 Commits (1) - [`081755a`](https://github.com/langchain-ai/docs/commit/081755a7f55e2b14031a8cc01b2ff7e2e74a2a76) docs: add missing Graph API code to Orchestrator-worker section ### 📊 Changes **1 file changed** (+171 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `src/oss/langgraph/workflows-agents.mdx` (+171 -0) </details> ### 📄 Description ## Overview - Added complete Graph API implementation for both Python and JavaScript in the Orchestrator-worker section - The original code blocks only contained schema definitions without the actual workflow implementation ## Type of change - [x] Fix typo/bug/link/formatting ## Related issues/PRs fixes #1722 ## Checklist - [x] I have read the contributing guidelines - [x] I have tested my changes locally using `docs dev` - [x] All code examples have been tested and work correctly - [x] I have used root relative paths for internal links - [x] I have updated the navigation in `src/docs.json` if needed (N/A) ## Additional notes The Graph API code blocks were incomplete compared to their Functional API counterparts. Added: - State and WorkerState definitions - Node functions (orchestrator, llmCall, synthesizer) - Conditional edge function using Send API for parallel workers - StateGraph workflow building, compilation, and invocation 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <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-17 17:22:47 -05:00
yindo closed this issue 2026-02-17 17:22:47 -05:00
yindo changed title from [PR #1767] docs: add missing Graph API code to Orchestrator-worker section to [PR #1767] [CLOSED] docs: add missing Graph API code to Orchestrator-worker section 2026-06-05 18:15:11 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/docs#1837