feat: Add crewai install CLI command (#1203)

* feat: Add crewai install CLI command

* feat: Add crewai install to the docs and force now crewai run
This commit is contained in:
Eduardo Chiarotti
2024-08-17 08:41:53 -03:00
committed by GitHub
parent dbede37121
commit ef2502a14f
7 changed files with 38 additions and 37 deletions

View File

@@ -8,6 +8,7 @@ from crewai.memory.storage.kickoff_task_outputs_storage import (
)
from .evaluate_crew import evaluate_crew
from .install_crew import install_crew
from .replay_from_task import replay_task_command
from .reset_memories_command import reset_memories_command
from .run_crew import run_crew
@@ -165,10 +166,16 @@ def test(n_iterations: int, model: str):
evaluate_crew(n_iterations, model)
@crewai.command()
def install():
"""Install the Crew."""
install_crew()
@crewai.command()
def run():
"""Run the crew."""
click.echo("Running the crew")
"""Run the Crew."""
click.echo("Running the Crew")
run_crew()