mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-07-05 15:09:22 +00:00
Detect if run is a flow and kick it off properly
This commit is contained in:
@@ -26,6 +26,9 @@ def run_crew() -> None:
|
||||
fg="red",
|
||||
)
|
||||
|
||||
if pyproject_data.get("tool", {}).get("crewai", {}).get("type") == "flow":
|
||||
command = ["uv", "run", "kickoff"]
|
||||
|
||||
try:
|
||||
subprocess.run(command, capture_output=False, text=True, check=True)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user