mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-09-28 04:25:08 +02:00
Fix lineage of maual state updates
This commit is contained in:
@@ -482,7 +482,7 @@ class Pregel(
|
||||
# apply to checkpoint and save
|
||||
_apply_writes(checkpoint, channels, task.writes)
|
||||
return self.checkpointer.put(
|
||||
config,
|
||||
saved.config if saved else config,
|
||||
create_checkpoint(checkpoint, channels),
|
||||
{
|
||||
"source": "update",
|
||||
@@ -551,7 +551,7 @@ class Pregel(
|
||||
# apply to checkpoint and save
|
||||
_apply_writes(checkpoint, channels, task.writes)
|
||||
return await self.checkpointer.aput(
|
||||
config,
|
||||
saved.config if saved else config,
|
||||
create_checkpoint(checkpoint, channels),
|
||||
{
|
||||
"source": "update",
|
||||
|
||||
Reference in New Issue
Block a user