Files
langgraph/libs
Elior Nataf Lackritz 79781ccfbe fix(langgraph): keep an update_state on an older checkpoint out of its other branches
update_state stores its writes on the checkpoint it addresses. When that
checkpoint already has other children, a DeltaChannel in each of them
replays those writes, so editing an earlier turn leaks the edit into the
branch it forked away from.

When the addressed checkpoint is not the thread's latest, the new
checkpoint snapshots the delta channels the update writes, and those
channels' writes are no longer stored on the addressed checkpoint.
Updates on the latest checkpoint are unchanged.
2026-10-01 16:41:56 -04:00
..
2026-09-21 10:38:26 -04:00