Framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewAI empowers agents to work together seamlessly, tackling complex tasks.
chore(cli): move `crewai eval` under experimental (#7707)
João Mourabdd1bc62007f
diff --git a/lib/cli/src/crewai_cli/cli.py b/lib/cli/src/crewai_cli/cli.pyindex 0250289d3..2c8f9e01f 100644--- a/lib/cli/src/crewai_cli/cli.py+++ b/lib/cli/src/crewai_cli/cli.py@@ -49,7 +49,7 @@ def run_crew(*args: Any, **kwargs: Any) -> Any:def eval_crew(*args: Any, **kwargs: Any) -> Any:- from crewai_cli.eval_crew import eval_crew as _eval_crew+ from crewai_cli.experimental.eval_crew import eval_crew as _eval_crewreturn _eval_crew(*args, **kwargs)diff --git a/lib/cli/src/crewai_cli/experimental/__init__.py b/lib/cli/src/crewai_cli/experimental/__init__.pynew file mode 100644index 000000000..bd40690f0--- /dev/null+++ b/lib/cli/src/crewai_cli/experimental/__init__.py@@ -0,0 +1,13 @@+"""Commands whose shape is not settled yet.++What lives here still works exactly like the rest of the CLI — it is listed in+`crewai --help` and invoked the same way. The package says something narrower:+its behaviour, its output and its options may change between releases without+the deprecation cycle the settled commands get.++`crewai eval` is here because most of what it depends on lives outside this+repository — an AMP endpoint and the evaluator behind it — and both are new+enough that the report's shape is still moving. The command itself is+deliberately tolerant of that: it prints whatever the evaluation graded rather+than a list of its own.+"""diff --git a/lib/cli/src/crewai_cli/eval_crew.py b/lib/cli/src/crewai_cli/experimental/eval_crew.pysimilarity index 100%rename from lib/cli/src/crewai_cli/eval_crew.pyrename to lib/cli/src/crewai_cli/experimental/eval_crew.pydiff --git a/lib/cli/tests/experimental/__init__.py b/lib/cli/tests/experimental/__init__.pynew file mode 100644index 000000000..e69de29bbdiff --git a/lib/cli/tests/test_eval_crew.py b/lib/cli/tests/experimental/test_eval_crew.pysimilarity index 99%rename from lib/cli/tests/test_eval_crew.pyrename to lib/cli/tests/experimental/test_eval_crew.pyindex 8a5a345aa..ce5007059 100644--- a/lib/cli/tests/test_eval_crew.py+++ b/lib/cli/tests/experimental/test_eval_crew.py@@ -12,7 +12,7 @@ import httpximport pytestfrom rich.console import Console-from crewai_cli import eval_crew as eval_module+from crewai_cli.experimental import eval_crew as eval_modulefrom crewai_cli.cli import eval_command