Files
crewAI/lib
Devin AI b6bb56146e Fix #4555: Flows do not work with kickoff_for_each
- Add 'parent_flow' to the exclude set in Crew.copy() for forward
  compatibility with older versions that had parent_flow as a Pydantic
  field on FlowTrackable
- Add comprehensive regression tests covering:
  - kickoff_for_each inside a @listen method of a Flow[TypedState]
  - kickoff_for_each with @CrewBase pattern inside flow listeners
  - crew.copy() preserving flow context in listeners
  - kickoff_for_each_async in flow listeners
  - akickoff_for_each in flow listeners
  - Multiple kickoff_for_each across chained @listen methods

Co-Authored-By: João <joao@crewai.com>
2026-02-21 12:30:56 +00:00
..