Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nfcampos committed Nov 16, 2024
1 parent 36e49eb commit 973ad76
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libs/langgraph/langgraph/pregel/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -946,7 +946,7 @@ def update_state(
create_checkpoint(checkpoint, None, step),
{
**checkpoint_metadata,
"source": "fork",
"source": "update",
"step": step + 1,
"writes": {},
"parents": saved.metadata.get("parents", {}) if saved else {},
Expand Down Expand Up @@ -1226,7 +1226,7 @@ async def aupdate_state(
next_checkpoint,
{
**checkpoint_metadata,
"source": "update",
"source": "fork",
"step": step + 1,
"writes": {},
"parents": saved.metadata.get("parents", {}) if saved else {},
Expand Down

0 comments on commit 973ad76

Please sign in to comment.