mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-08-21 15:12:26 +02:00
This adds `StateSnapshot` to the union type annotation of `CheckpointTask.state`. The annotation was previously incomplete: `map_debug_checkpoint()` generates `CheckpointPayload` objects from `PregelTask` objects, and the `state` field in `PregelTask` is of type `None | RunnableConfig | StateSnapshot`.