mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-09 08:08:32 +00:00
fix: Missing required template variable 'current_year' in description (#2085)
This commit is contained in:
@@ -56,7 +56,8 @@ def test():
|
|||||||
Test the crew execution and returns the results.
|
Test the crew execution and returns the results.
|
||||||
"""
|
"""
|
||||||
inputs = {
|
inputs = {
|
||||||
"topic": "AI LLMs"
|
"topic": "AI LLMs",
|
||||||
|
"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]), openai_model_name=sys.argv[2], inputs=inputs)
|
||||||
|
|||||||
Reference in New Issue
Block a user