Files
crewAI/lib
Devin AI ce468aad70 fix: dispatch Flow checkpoints through Flow APIs in TUI (#5492)
The checkpoint TUI was hardcoded to use Crew.from_checkpoint() and
Crew.fork() for all checkpoints. Flow checkpoints now dispatch through
Flow.from_checkpoint() / Flow.fork() instead.

Changes:
- Add _is_flow_checkpoint() to detect flow entities in checkpoint data
- Modify _run_checkpoint_tui_async to dispatch to Flow or Crew based
  on entity type
- Skip task_overrides for Flow checkpoints (not applicable)
- Update _TuiResult type to include is_flow flag
- Add 12 tests covering flow detection and dispatch paths

Co-Authored-By: João <joao@crewai.com>
2026-04-16 08:33:07 +00:00
..
2026-04-16 05:18:24 +08:00