fix(langgraph): Remove duplicate call to ensure_config (#5768)

This commit is contained in:
William FH
2025-07-31 09:15:03 -04:00
committed by GitHub
parent bec28226d0
commit 18887e9f86
+1 -1
View File
@@ -1305,7 +1305,7 @@ class Pregel(
) -> Iterator[StateSnapshot]:
"""Get the history of the state of the graph."""
config = ensure_config(config)
checkpointer: BaseCheckpointSaver | None = ensure_config(config)[CONF].get(
checkpointer: BaseCheckpointSaver | None = config[CONF].get(
CONFIG_KEY_CHECKPOINTER, self.checkpointer
)
if not checkpointer: