[PR #1769] docs: add missing Graph API code to Orchestrator-worker section #1835

Open
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/1769
Author: @nathannewyen
Created: 12/6/2025
Status: 🔄 Open

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


📝 Commits (4)

  • 081755a docs: add missing Graph API code to Orchestrator-worker section
  • 91dedfe chore: regenerate auto-generated overview.mdx
  • 2178044 Merge branch 'main' into fix/1722-add-missing-graph-api-code
  • 88026f8 Merge branch 'main' into fix/1722-add-missing-graph-api-code

📊 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)

Changes

Added the following to both Python and JavaScript Graph API code blocks:

  • State and WorkerState definitions
  • Node functions (orchestrator, llmCall, synthesizer)
  • Conditional edge function (assignWorkers) using Send API
  • StateGraph workflow building
  • Compilation and invocation examples

Note

The CI check failure regarding src/oss/python/integrations/providers/overview.mdx is not related to this PR. This PR only modifies src/oss/langgraph/workflows-agents.mdx. The overview.mdx file appears to have drifted from what the generation script produces - this is a pre-existing issue in the main branch.


🔄 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/1769 **Author:** [@nathannewyen](https://github.com/nathannewyen) **Created:** 12/6/2025 **Status:** 🔄 Open **Base:** `main` ← **Head:** `fix/1722-add-missing-graph-api-code` --- ### 📝 Commits (4) - [`081755a`](https://github.com/langchain-ai/docs/commit/081755a7f55e2b14031a8cc01b2ff7e2e74a2a76) docs: add missing Graph API code to Orchestrator-worker section - [`91dedfe`](https://github.com/langchain-ai/docs/commit/91dedfeddc583e8229c761f0ee9e88900233bc02) chore: regenerate auto-generated overview.mdx - [`2178044`](https://github.com/langchain-ai/docs/commit/21780440608828e2028564a37eec277ec6b15472) Merge branch 'main' into fix/1722-add-missing-graph-api-code - [`88026f8`](https://github.com/langchain-ai/docs/commit/88026f8cad1afb1b4c543874fe75dab56a4044a8) Merge branch 'main' into fix/1722-add-missing-graph-api-code ### 📊 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) ## Changes Added the following to both Python and JavaScript Graph API code blocks: - State and WorkerState definitions - Node functions (orchestrator, llmCall, synthesizer) - Conditional edge function (assignWorkers) using Send API - StateGraph workflow building - Compilation and invocation examples ## Note The CI check failure regarding `src/oss/python/integrations/providers/overview.mdx` is not related to this PR. This PR only modifies `src/oss/langgraph/workflows-agents.mdx`. The `overview.mdx` file appears to have drifted from what the generation script produces - this is a pre-existing issue in the main branch. --- <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
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/docs#1835