Skip to content

feat: update Command docs#2846

Merged
Sydney Runkle (sydney-runkle) merged 6 commits intomainfrom
sr/command-update-docs
Mar 2, 2026
Merged

feat: update Command docs#2846
Sydney Runkle (sydney-runkle) merged 6 commits intomainfrom
sr/command-update-docs

Conversation

@sydney-runkle
Copy link
Copy Markdown
Contributor

@sydney-runkle Sydney Runkle (sydney-runkle) commented Feb 27, 2026

  • emphasis on highlighting the 2 use cases for command - updates / control flow from a node (or tool) and resuming an interrupted graph
  • specifically warning against using Command(update=) as input to a graph

preview: https://langchain-5e9cc07a-preview-srcomm-1772228869-09398c4.mintlify.app/oss/python/langgraph/graph-api#command

@github-actions
Copy link
Copy Markdown
Contributor

Mintlify preview ID generated: preview-srcomm-1772228869-09398c4

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Mar 2, 2026

Mintlify preview ID generated: preview-srcomm-1772487574-2580b70

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Mar 2, 2026

Mintlify preview ID generated: preview-srcomm-1772488930-72f628a

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

small nit but looks good

Comment thread src/oss/langgraph/graph-api.mdx Outdated

@[`Command`] is a versatile primitive for controlling graph execution. It accepts four parameters:

- **`update`**: Apply state updates (similar to returning updates from a node).
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these don't need bold since they're monospaced

Comment thread src/oss/langgraph/graph-api.mdx Outdated
@sydney-runkle Sydney Runkle (sydney-runkle) merged commit 819f56b into main Mar 2, 2026
16 checks passed
@sydney-runkle Sydney Runkle (sydney-runkle) deleted the sr/command-update-docs branch March 2, 2026 22:24
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Mar 2, 2026

Mintlify preview ID generated: preview-srcomm-1772490242-546fa9a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal langgraph For docs changes to LangGraph oss

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants