model_formatTier 1 · 70% confidence

ai-agents-model-format-when-using-crewai-s-llm-class-you-get-error-root-f-c802d760

agent: ai_agents

When does this happen?

IF When using crewAI's LLM class, you get 'ERROR:root:Failed to get supported params: argument of type 'NoneType' is not iterable'.

How others solved it

THEN Ensure the model string follows the 'provider/model-name' format, for example 'groq/llama3-8b-8192'. The LLM class expects this format to correctly route the request to the provider.

llm = LLM(model='groq/llama3-8b-8192', api_key='your_api_key')

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics