langgraph: remove support for thread_ts (old alias for checkpoint_id) (#5295)

* remove support for thread_ts

* docs and tests
This commit is contained in:
Sydney Runkle
2025-07-01 13:42:25 -04:00
committed by GitHub
parent c16e42e6d5
commit c989f1c898
9 changed files with 10 additions and 22 deletions
@@ -284,10 +284,7 @@ class PostgresSaver(BasePostgresSaver):
configurable = config["configurable"].copy()
thread_id = configurable.pop("thread_id")
checkpoint_ns = configurable.pop("checkpoint_ns")
checkpoint_id = configurable.pop(
"checkpoint_id", configurable.pop("thread_ts", None)
)
checkpoint_id = configurable.pop("checkpoint_id", None)
copy = checkpoint.copy()
next_config = {
"configurable": {
@@ -240,9 +240,7 @@ class AsyncPostgresSaver(BasePostgresSaver):
configurable = config["configurable"].copy()
thread_id = configurable.pop("thread_id")
checkpoint_ns = configurable.pop("checkpoint_ns")
checkpoint_id = configurable.pop(
"checkpoint_id", configurable.pop("thread_ts", None)
)
checkpoint_id = configurable.pop("checkpoint_id", None)
copy = checkpoint.copy()
next_config = {