Missing required template variable 'current_year' in description

hi, I am testing a simple crew on gemin-2.0

crewai test -n 5 -m gpt-4o

Missing required template variable ‘current_year’ in description

An error occurred while testing the crew

Any suggestion?

You set a current_year variable in the YAML file for your task, but you’re not passing any values for it when kicking off the crew.

If you’re not able to figure out how to solve the error with my hint, please share your full code.

You need to pass current_year in your inputs when you run the train command. See more details in the docs Training - CrewAI