-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Description
Description
I configured the opencode.json to work with LM Studio. And made sure to delete all opencode files under .local beforehand to have a clean init and config.
I used the config example provided https://opencode.ai/docs/providers/#lm-studio
When I added my custom model, launched LM Studio and ran OpenCode in Terminal, the model list shows additional models which aren't configured in my opencode.json. The other configured models show up with the right name (as defined in the .json) and can be loaded successfully. See screenshots & steps to reproduce or further details.
Where do the other model
OpenCode version
1.0.58 (brew, macOS)
Steps to reproduce
- Copied config example from https://opencode.ai/docs/providers/#lm-studio
- Added a custom model from LM Studio (gpt-oss-20b) in
opencode.json - Run
opencodein Terminal - Ctrl+x > m to list models
- Model list shows additional models: Qwen3 Coder 30B & Qwen3 30B A3B 2507 - the latter isn't even installed in LM Studio) (Screenshot Nr. 1)
opencode.jsondoesn't contain neither Qwen3 Coder 30B or Qwen3 30B A3B 2507 (Screenshot Nr. 2)
Screenshot and/or share link
Screenshot Nr. 1 – Select Model in OpenCode 1.0.58

Screenshot Nr. 2 – Custom Models added in opencode.json

Operating System
macOS Tahoe 26.1
Terminal
iTerm 3.5.6 / Visual Studio Code 1.106.0-insider