Skip to content

The cache of the Provider‘s Models cannot be updatable #7714

Closed as not planned

Description

@spaceychen

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

Activity

  1. changed the title [-]The cache of the Provider‘s Models cannot be cleared[/-] [+]The cache of the Provider‘s Models cannot be updatable[/+] on Jan 10, 2026
  2. rekram1-node commented on Jan 10, 2026

    @rekram1-node
    Collaborator

    for lm studio u need to define the models in your opencode.json rn ik that sucks so ill make it read the lm studio list soon

  3. spaceychen commented on Jan 10, 2026

    @spaceychen
    Author

    Fortunately, it's not a bug... Looking forward to adding new features.

    GET /v1/models

  4. github-actions commented on Mar 25, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.

  5. removed
    bugSomething isn't working
    on May 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions