[PR #6079] wip: testing state extension via annotations #4820

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

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

State: closed
Merged: No


still need to migrate to direct Pregel usage so that I can take advantage of input / output channels parsed from state extension annotations

moved to a typed dict here bc for dataclass subclasses:

  • you need to annotate sublclass w/ @dataclass
  • required values can't follow optional values

Explicit channel specifications are only available on Pregel directly, so I'm guessing we'll need to modify the create_agent internals to use that constructor. Need to make sure we don't lose value from not using and CompiledStateGraph.

**Original Pull Request:** https://github.com/langchain-ai/langgraph/pull/6079 **State:** closed **Merged:** No --- still need to migrate to direct `Pregel` usage so that I can take advantage of input / output channels parsed from state extension annotations moved to a typed dict here bc for dataclass subclasses: * you need to annotate sublclass w/ `@dataclass` * required values can't follow optional values Explicit channel specifications are only available on `Pregel` directly, so I'm guessing we'll need to modify the `create_agent` internals to use that constructor. Need to make sure we don't lose value from not using and `CompiledStateGraph`.
yindo added the pull-request label 2026-02-20 17:50:48 -05:00
yindo closed this issue 2026-02-20 17:50: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/langgraph#4820