Skip to content
EN
Add to Chrome

LM Studio or Ollama won't connect

FixNew
Symptom

The LM Studio or Ollama card reads Not connected, Not found, Needs one setting or No models loaded.

For anyone whose model app card in Riff Home › Models doesn't turn Connected.

Needs one setting: restart Ollama with the command on its card, and it connects.
The card readsWhat to do
Not connectedRiff hasn't tried yet. Click Connect, and allow the browser's question about apps on this computer
Not foundThe app isn't running, or its server is off. In LM Studio: Developer › Start server. For Ollama, start it. Then click Connect
Needs one settingThe app is running but refuses Riff. In LM Studio, turn on Enable CORS. For Ollama, restart it with the command on the card Models: pick and manage the AI model
No models loadedThe app is running with no chat model. Load or pull one, then click Check again

Ollama's setting. Quit Ollama and start it with OLLAMA_ORIGINS="chrome-extension://*" ollama serve. With the Ollama app on a Mac, run launchctl setenv OLLAMA_ORIGINS "chrome-extension://*" in Terminal, then restart the app. The card shows the command with Riff's own address for your browser.

You said no to the browser's question. Click Connect again to be asked again.

Another port. Riff looks for LM Studio on port 1234 and Ollama on 11434, their usual ports. If you changed them in the app, change them back.

It was working and stopped. The app was closed or the model unloaded. Start it, then Check again. Until then, pick another model under Riff writes with Models: pick and manage the AI model.