You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
langgraph 0.1.11
Summary of Changes
Fixed initialization of checkpoint_pending_writes in PregelLoop to ensure it's always a list, never None (#1106)
Fixed validation error in StateGraph.add_edge() to correctly prevent START node from being an end node
Improved type annotations in StateGraph.compile() to correctly indicate it returns a CompiledStateGraph
Detailed Changes
langgraph.pregel.loop.PregelLoop
Changed checkpoint_pending_writes type from Optional[List[PendingWrite]] to List[PendingWrite]
Modified __enter__ and __aenter__ methods to ensure checkpoint_pending_writes is always a list by defaulting to an empty list when saved.pending_writes is None (#1106)
langgraph.graph.state.StateGraph
Fixed validation in add_edge() method to correctly check that START cannot be an end node (instead of incorrectly checking that END cannot be an end node)
Updated return type annotation in compile() method from CompiledGraph to "CompiledStateGraph" to accurately reflect the actual return type