Framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewAI empowers agents to work together seamlessly, tackling complex tasks.
fix: Missing required template variable 'current_year' in description (#2085)
luctrate1b488b6da77d
diff --git a/src/crewai/cli/templates/crew/main.py b/src/crewai/cli/templates/crew/main.pyindex 104f146c0..d9fe85d42 100644--- a/src/crewai/cli/templates/crew/main.py+++ b/src/crewai/cli/templates/crew/main.py@@ -56,7 +56,8 @@ def test():Test the crew execution and returns the results."""inputs = {- "topic": "AI LLMs"+ "topic": "AI LLMs",+ "current_year": str(datetime.now().year)}try:{{crew_name}}().crew().test(n_iterations=int(sys.argv[1]), openai_model_name=sys.argv[2], inputs=inputs)