Yes! Ollama models show up in the chat model dropdown in Cody, if Ollama is running on your machine.
"cody.dev.models": [
{
"provider": "openaicompatible",
"model": "mixtral:latest",
"tokens": 4096,
"apiEndpoint": "http://localhost:11434/v1/chat/completions"
},
],
We should add an easier way to just change the Ollama URL from localhost, so you can see all the Ollama models listed as you can when it's available on localhost. Added to our TODO list!I have a WIP PR right now (like literally coding on it right now) making Cody support strict offline mode better (i.e., not even showing online models if you choose to be offline): https://github.com/sourcegraph/cody/pull/5221.