Crewai memory using other downloaded ollama model rather than openai api key

How to add long term memory using sqlite as I only have ollama phi4 model downloaded in my system , as it is giving error to use only openai key for memory ?