mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-02-20 03:00:31 -05:00
- Added tests to verify self-loop behavior in HITL routers, ensuring they can handle multiple rejections and immediate approvals. - Implemented `test_hitl_self_loop_routes_back_to_same_method`, `test_hitl_self_loop_multiple_rejections`, and `test_hitl_self_loop_immediate_approval` to validate the expected execution order and outcomes. - Updated the `or_()` listener to support looping back to the same method based on human feedback outcomes, improving flow control in complex scenarios.