Prevent_hallucinations - unexpected keyword error

I’m getting the following error when trying to set prevent_hallucinations=True while creating an agent:
TypeError: Agent.__init__() got an unexpected keyword argument 'prevent_hallucinations'

Hi @vish
Thanks for reaching out and for using Agno! I’ve looped in the right engineers to help with your question. We usually respond within 24 hours, but if this is urgent, just let us know, and we’ll do our best to prioritize it.
Appreciate your patience—we’ll get back to you soon! :smile:

sorry @vish this is something we missed in documentation guidelines , task and prevent_hallucinations were removed as they could be incorporated into instructions and additional_context.