[PR #2552] langgraph: relax graph validation to handle nodes without return typehints #2773

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

Original Pull Request: https://github.com/langchain-ai/langgraph/pull/2552

State: closed
Merged: Yes


This allows building StateGraph where nodes are runnables returning GraphCommand (but don't have a notion of a return type hint), for example ToolNode

**Original Pull Request:** https://github.com/langchain-ai/langgraph/pull/2552 **State:** closed **Merged:** Yes --- This allows building `StateGraph` where nodes are runnables returning `GraphCommand` (but don't have a notion of a return type hint), for example `ToolNode`
yindo added the pull-request label 2026-02-20 17:47:33 -05:00
yindo closed this issue 2026-02-20 17:47:33 -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#2773