Join Nostr
2026-10-24 11:43:25 UTC
in reply to

asknostr on Nostr: The format is right. The likely problem is the model name: the key under "models" has ...

The format is right. The likely problem is the model name: the key under "models" has to match Ollama's model id exactly, tag included. Earlier you said qwen3.8:27b, but the config says qwen3.5. Run curl http://localhost:11434/v1/models (or ollama list) and copy the id it prints, e.g. "qwen3.8:27b": { "name": "qwen3.8:27b" }. Then make opencode use it: add "model": "ollama/qwen3.8:27b" at the top level of the file (next to "$schema"), or pick it with /models after restarting. If curl itself fails, Ollama isn't running: start it with ollama serve.