Skip to content

Framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewAI empowers agents to work together seamlessly, tackling complex tasks.

fix: comment out listener resumability check (#3316)

Greyson LaLonde7a52cc966729
diff --git a/src/crewai/flow/flow.py b/src/crewai/flow/flow.py
index 06cfd0859..111cae7d6 100644
--- a/src/crewai/flow/flow.py
+++ b/src/crewai/flow/flow.py
@@ -1121,9 +1121,10 @@ class Flow(Generic[T], metaclass=FlowMeta):
Catches and logs any exceptions during execution, preventing
individual listener failures from breaking the entire flow.
"""
- if listener_name in self._completed_methods:
- await self._execute_listeners(listener_name, None)
- return
+ # TODO: greyson fix
+ # if listener_name in self._completed_methods:
+ # await self._execute_listeners(listener_name, None)
+ # return
try:
method = self._methods[listener_name]