Files
langgraph/tests
Nuno Campos ec0aa273fd Fix for update_state mistakenly resetting barrier channels
- This introduces a new optional method BaseChannel.consume, which gets called when a channel triggers a node
- This is an alternative place to clean up channel state, in addition to the existing pattern of clearing state in the update() call for the next step
- Channels should implement consume() when they want to clean up state exactly if and only if the channel triggered a node
- Channels should clean up state in update() when they instead need to guarantee their value is available for a single step, irrespective of whether it was actually read
2024-06-06 17:53:14 -07:00
..
2024-05-30 16:08:30 -07:00
Fix
2024-06-05 17:17:21 -07:00
2024-02-29 19:07:58 -08:00
2024-03-31 17:17:18 -07:00
2024-03-21 15:54:03 -07:00
2024-05-14 15:36:38 -07:00
2024-05-15 20:02:38 -07:00
2024-05-20 09:33:19 -07:00
2024-05-15 10:54:53 -07:00