feat: add cli to run the crew (#1080)

* feat: add cli to run the crew

* feat: change command to run_crew

* feat: change pyprojet to run_Crew

* docs: change docs to address crewai run
This commit is contained in:
Eduardo Chiarotti
2024-08-08 10:48:22 -03:00
committed by GitHub
parent 8eea22c763
commit a38848097f
5 changed files with 40 additions and 0 deletions

View File

@@ -9,6 +9,7 @@ from .create_crew import create_crew
from .evaluate_crew import evaluate_crew
from .replay_from_task import replay_task_command
from .reset_memories_command import reset_memories_command
from .run_crew import run_crew
from .train_crew import train_crew
@@ -147,5 +148,12 @@ def test(n_iterations: int, model: str):
evaluate_crew(n_iterations, model)
@crewai.command()
def run():
"""Run the crew."""
click.echo("Running the crew")
run_crew()
if __name__ == "__main__":
crewai()