langgraph 0.1.5
Summary of Changes
- 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.CancelledErrorexceptions from propagating. Background tasks are now properly cleaned up regardless of their cancellation state by explicitly marking cancellation exceptions as seen.