mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-05-07 02:02:35 +00:00
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>