-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Description
After a recent update (currently on 1.0.202), some models in our local ollama server have gone missing. For example, given the following config in opencode.json:
{
"$schema": "https://opencode.ai/config.json",
"provider": {
"ollama": {
"npm": "@ai-sdk/openai-compatible",
"name": "Ollama",
"options": {
"baseURL": "http://localhost:11434/v1"
},
"models": {
"devstral-small-2:24b-cloud": {
"name": "Devstral Small 2 (Cloud)"
},
"devstral-small-2:latest": {
"name": "Devstral Small 2 (local)"
},
"devstral-2:123b-cloud": {
"name": "Devstral 2 (Cloud)"
}
}
}
}
}
Opencode only sees the "Devstral 2 (Cloud)", but not the "Devstral Small 2 (local)" or "Devstral Small 2 (cloud)".
All three models show up when running ollama list, but opencode only shows one of them:
OpenCode version
1.0.202
Steps to reproduce
- Create a opencode.json with the above config
- Check what models are reported in opencode.
Screenshot and/or share link
No response
Operating System
MacOS
Terminal
iTerm2
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working