Tasks Output Validation (BaseModel with Output_pydantic)

Hello,

When using output_pydantic I’m having the following error:

ERROR: Error in crew execution: Failed to convert text into a Pydantic model due to error: 'NoneType' object has no attribute 'function_calling_llm'
2025-03-30 13:07:06,792 - __main__ - ERROR - Error in proposal generation: Failed to convert text into a Pydantic model due to error: 'NoneType' object has no attribute 'function_calling_llm'

Here one of my class.

class Email(BaseModel):
    subject: str
    body: str
    greeting: str
    signature: str

Any hint?

Regards,

I suggest you provide more context so someone can weigh in.

If this Pydantic model is being used in the output_pydantic of a task, please provide the task (or a simplified version of it).

1 Like

It was related to the model in use, don’t support function calling.

Thanks,

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.