from crewai import Agent, Task, Crew, LLM
llm = LLM(
model=“ollama/llama3.2”,
base_url=“http://myremoteserveraddress:11434”,
api_key=“ollama”
)
Agents and Tasks are creating but while initiating Crew I am getting this error
ValidationError: 1 validation error for Crew
Value error, Please provide an OpenAI API key.
Using memory is not a requirement for using local models, If you want to use memory and you don’t want to use open AI, then you need to use a custom embedding on your crew