Files
crewAI/lib
Vinicius Brasil 5c18f3335b Read flow dispatch from FlowDefinition
Store the definition in a `_definition` PrivateAttr at post-init and
convert the dispatch helpers (`_start_method_names`, `_listener_methods`,
`_start_condition`, `_listen_condition`, `_is_router`) from classmethods
to instance methods that read it. Event names now fall back to
`self._definition.name` instead of `self.__class__.__name__`.

Behavior is identical for decorator subclasses, but the engine no longer
assumes the definition comes from the class. This is the seam for
`Flow.from_definition`, where an instance runs a definition that was
loaded rather than built from a Python subclass.
2026-06-11 10:18:46 -07:00
..
2026-06-11 10:06:07 -07:00
2026-06-11 10:06:07 -07:00
2026-06-11 10:06:07 -07:00