langgraph 0.1.13
Summary of Changes
- Improved robustness in the Pregel execution engine by adding validation for node names in pending sends
- Enhanced recursion limit handling in PregelLoop to properly account for checkpointed state
Detailed Changes
langgraph.pregel.algo.prepare_next_tasks
- Added validation to ignore unknown node names in pending sends, preventing errors when a referenced node doesn't exist
langgraph.pregel.loop.PregelLoop
- Added a new
stopattribute to track the maximum allowed steps - Modified recursion limit handling to properly account for the current step number when resuming from checkpoints
- Updated both sync and async context managers to correctly initialize the recursion limit