Recursion error

I am getting recursive error at the very first lesson on creating agents for research.
At this point of the code to write the results in Jupyter notebook.
result = crew.kickoff(inputs={“topic”: “Artificial Intelligence”})

Content planner agent is getting recursive at the last task and then errors out with

4. Include SEO keywords and relevant data or sources.[EventBus Error] Handler ‘on_task_failed’ failed for event
‘TaskFailedEvent’: maximum recursion depth exceeded


RecursionError Traceback (most recent call last)
File /opt/anaconda3/lib/python3.11/threading.py:1349, in _make_invoke_excepthook..invoke_excepthook(thread)
1345 hook = old_excepthook
1347 args = ExceptHookArgs([*sys_exc_info(), thread])
→ 1349 hook(args)
1350 except Exception as exc:
1351 exc.suppress_context = True

used this for setting the LLM as mentioned in the course and did use the right HF token.

Hugging Face (HuggingFaceHub endpoint)

from langchain_community.llms import HuggingFaceHub

llm = HuggingFaceHub(
    repo_id="HuggingFaceH4/zephyr-7b-beta",
    huggingfacehub_api_token="<HF_TOKEN_HERE>",
    task="text-generation",
)

Same issue with gpt-4o-mini.