fix: Missing required template variable 'current_year' in description (#2085)

This commit is contained in:
luctrate
2025-02-13 14:19:52 +01:00
committed by GitHub
parent d3b398ed52
commit 1b488b6da7

View File

@@ -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)