From ac9531378d3bb37744a81604ac66705729b2edef Mon Sep 17 00:00:00 2001 From: Sydney Runkle Date: Fri, 17 Apr 2026 14:51:03 -0400 Subject: [PATCH] fix(channels): align DiffChannel.is_available with BinaryOperatorAggregate --- libs/langgraph/langgraph/channels/diff.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/langgraph/langgraph/channels/diff.py b/libs/langgraph/langgraph/channels/diff.py index 56c925c3d..09569bb33 100644 --- a/libs/langgraph/langgraph/channels/diff.py +++ b/libs/langgraph/langgraph/channels/diff.py @@ -142,7 +142,7 @@ class DiffChannel(Generic[Value], BaseChannel[list[Value], Value, DiffDelta]): return self.value def is_available(self) -> bool: - return self.value is not MISSING and self.value is not None + return self.value is not MISSING def checkpoint(self) -> DiffDelta: return DiffDelta(