mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-16 11:38:31 +00:00
feat: add docs and add unit test
This commit is contained in:
@@ -970,7 +970,7 @@ class Crew(BaseModel):
|
||||
def test(
|
||||
self, n_iterations: int, model: str, inputs: Optional[Dict[str, Any]] = None
|
||||
) -> None:
|
||||
"""Test the crew with the given inputs."""
|
||||
"""Test and evaluate the Crew with the given inputs for n iterations."""
|
||||
evaluator = CrewEvaluator(self, model)
|
||||
|
||||
for i in range(1, n_iterations + 1):
|
||||
|
||||
Reference in New Issue
Block a user