Crewai create crew demo with 6.Ollama and llama3.2:latest model not startable

HI all

after using “crewai create crew demo” it creates the scaffold with all the data

Adjust the model to llama3.2 in the .env
crewai install
crewai run

Results in Running the Crew

LLM value is None

Error instantiating LLM from environment/fallback: TypeError: LLM.init() got an unexpected keyword argument ‘api_base’

ollama is running llama3.2:latest
Name: crewai Version: 0.98.0

Any thoughts on this?

I tried the same code with the OpenAI configuration. this works as intended with the relevant OpenAI API key in the .env

using the llama configuration
MODEL=ollama/llama3.2
API_BASE=http://localhost:11434

it causes to break. Running a test script to check if the llmlite package works, it does return some warnings but seems to work
UserWarning: Valid config keys have changed in V2: * ‘fields’ has been removed

Any suggestions are welcome.

the workaround can be found here

I’m struck with similar situation. Using llama3.2:1B, no error but don’t get any output