mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-09-26 19:45:00 +02:00
Add checkpoint config to checkpoint metadata?
This commit is contained in:
@@ -760,10 +760,11 @@ class Pregel(
|
||||
)
|
||||
)
|
||||
checkpoint_config = {
|
||||
**checkpoint_config,
|
||||
"configurable": {
|
||||
**checkpoint_config["configurable"],
|
||||
"thread_ts": checkpoint["id"],
|
||||
}
|
||||
},
|
||||
}
|
||||
# increment start to 0
|
||||
start += 1
|
||||
@@ -885,10 +886,11 @@ class Pregel(
|
||||
)
|
||||
)
|
||||
checkpoint_config = {
|
||||
**checkpoint_config,
|
||||
"configurable": {
|
||||
**checkpoint_config["configurable"],
|
||||
"thread_ts": checkpoint["id"],
|
||||
}
|
||||
},
|
||||
}
|
||||
# yield debug checkpoint
|
||||
if stream_mode == "debug":
|
||||
@@ -1031,10 +1033,11 @@ class Pregel(
|
||||
)
|
||||
)
|
||||
checkpoint_config = {
|
||||
**checkpoint_config,
|
||||
"configurable": {
|
||||
**checkpoint_config["configurable"],
|
||||
"thread_ts": checkpoint["id"],
|
||||
}
|
||||
},
|
||||
}
|
||||
# increment start to 0
|
||||
start += 1
|
||||
@@ -1162,10 +1165,11 @@ class Pregel(
|
||||
)
|
||||
)
|
||||
checkpoint_config = {
|
||||
**checkpoint_config,
|
||||
"configurable": {
|
||||
**checkpoint_config["configurable"],
|
||||
"thread_ts": checkpoint["id"],
|
||||
}
|
||||
},
|
||||
}
|
||||
# yield debug checkpoint
|
||||
if stream_mode == "debug":
|
||||
|
||||
Reference in New Issue
Block a user