mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-09 08:08:32 +00:00
Merge main into devin/1744245450-add-result-as-answer-to-tool-decorator
Co-Authored-By: Joe Moura <joao@crewai.com>
This commit is contained in:
@@ -60,7 +60,7 @@ def test():
|
|||||||
"current_year": str(datetime.now().year)
|
"current_year": str(datetime.now().year)
|
||||||
}
|
}
|
||||||
try:
|
try:
|
||||||
{{crew_name}}().crew().test(n_iterations=int(sys.argv[1]), openai_model_name=sys.argv[2], inputs=inputs)
|
{{crew_name}}().crew().test(n_iterations=int(sys.argv[1]), eval_llm=sys.argv[2], inputs=inputs)
|
||||||
|
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
raise Exception(f"An error occurred while testing the crew: {e}")
|
raise Exception(f"An error occurred while testing the crew: {e}")
|
||||||
|
|||||||
Reference in New Issue
Block a user