opencode icon indicating copy to clipboard operation
opencode copied to clipboard

The cache of the Provider‘s Models cannot be updatable

Open spaceychen opened this issue 4 days ago • 2 comments

Description

Image

Once opencode is connected to the lm-studio Provider, the model list is cached and appears to be unupdatable! As shown in the figure, after updating the lm-studio Provider's model list (such as adding or deleting models), when I refresh the opencode model list cache, the cache is still not updated.

Plugins

No response

OpenCode version

1.1.12

Steps to reproduce

  1. add or delete models from lm-studio
  2. lms ls
  3. opencode models --refresh

Screenshot and/or share link

No response

Operating System

MacOS 15.7.3 (24G419), Apple M4 Pro

Terminal

iTerm2

spaceychen avatar Jan 10 '26 23:01 spaceychen