From 66b19311a7fc55b1f71af09630a8e08eb1e066d8 Mon Sep 17 00:00:00 2001 From: Sir Qasim Date: Thu, 20 Mar 2025 21:48:02 +0500 Subject: [PATCH] Fix crewai run Command Issue for Flow Projects and Cloud Deployment (#2291) This PR addresses an issue with the crewai run command following the creation of a flow project. Previously, the update command interfered with execution, causing it not to work as expected. With these changes, the command now runs according to the instructions in the readme.md, and it also improves deployment support when using CrewAI Cloud. Co-authored-by: Brandon Hancock (bhancock_ai) <109994880+bhancockio@users.noreply.github.com> --- src/crewai/cli/templates/flow/pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/src/crewai/cli/templates/flow/pyproject.toml b/src/crewai/cli/templates/flow/pyproject.toml index 0a3d0de03..93e7c1de7 100644 --- a/src/crewai/cli/templates/flow/pyproject.toml +++ b/src/crewai/cli/templates/flow/pyproject.toml @@ -10,6 +10,7 @@ dependencies = [ [project.scripts] kickoff = "{{folder_name}}.main:kickoff" +run_crew = "{{folder_name}}.main:kickoff" plot = "{{folder_name}}.main:plot" [build-system]