Files
crewAI/lib
Devin AI 819e3f8547 Fix #5972: Allow multi-source OR listeners to re-fire in cyclic flows
When a router emits a signal that should re-trigger an or_() listener
that has already fired, the listener was permanently blocked by
_fired_or_listeners. This created a catch-22: the clearing logic in
_execute_single_listener (for cyclic re-execution) could never be
reached because _find_triggered_methods blocked the listener first.

Fix: Before processing router results as triggers, reset
_fired_or_listeners entries for any OR listeners whose conditions
match the router output signals. This preserves concurrent start-method
protection (original trigger_method) while unblocking cyclic
re-triggering through routers.

Co-Authored-By: João <joao@crewai.com>
2026-05-29 09:48:07 +00:00
..
2026-05-28 09:47:19 -07:00
2026-05-28 09:47:19 -07:00
2026-05-28 09:47:19 -07:00