Commit Graph

2 Commits

Author SHA1 Message Date
Devin AI
425bfeaf9f Fix lint: remove trailing whitespace from docstrings
Co-Authored-By: João <joao@crewai.com>
2025-10-16 22:16:00 +00:00
Devin AI
b0f6c66c36 Fix nested or_() conditions triggering listeners multiple times (issue #3719)
- Add tracking of triggered OR listeners to prevent multiple executions
- OR listeners now execute only once when any condition in the OR is met
- Clear OR listener tracking when entering new cycles or restarting flows
- Add comprehensive test suite for nested OR conditions
- All existing tests pass with no regressions

Fixes #3719

Co-Authored-By: João <joao@crewai.com>
2025-10-16 22:12:30 +00:00