mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-08-20 14:42:28 +02:00
Description: Catch invalid checkpointer objects early by validating any checkpointer argument before compilation/execution, raising a clear TypeError that instructs users to pass a proper BaseCheckpointSaver (e.g., AsyncPostgresSaver) instead of stores like AsyncPostgresStore. Includes shared validation logic and a regression test so we don’t see AttributeError: 'AsyncPostgresStore' object has no attribute 'get_next_version' again. Issue: Fixes #6585 Dependencies: None Twitter handle: none