LM Studio or Ollama won't connect
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.
| The card reads | What to do |
|---|---|
| Not connected | Riff hasn't tried yet. Click Connect, and allow the browser's question about apps on this computer |
| Not found | The app isn't running, or its server is off. In LM Studio: Developer › Start server. For Ollama, start it. Then click Connect |
| Needs one setting | The 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 loaded | The 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.