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
Fixed an issue with handling cancelled futures during checkpoint creation in the Pregel engine to prevent unhandled exceptions
Detailed Changes
langgraph.pregel.Pregel
Added proper handling of cancelled futures during checkpoint creation to prevent unhandled asyncio.CancelledError exceptions from propagating. Background tasks are now properly cleaned up regardless of their cancellation state by explicitly marking cancellation exceptions as seen.