Skip to content

[FEATURE]: Disabling specific models through opencode.json #3411

Closed

Description

@r1bilski

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

Hi! First of all, thank you for your work on this tool :)

We're using Opencode as an interface for an LLM based workflow, that people install on their machines, along with a config file. We set the model to a default tested model that we verified works fine, but this still leaves the possibility of someone changing the model by accident open.

I would like to request a feature that would allow to disable specific models in opencode.json, so they don't show up in the model list.
This is useful not only in the usecase I described above, but also when you have a provider that supplies a bunch of models you don't care about (like Copilot providing Claude 3.5 etc.). This feature would allow you to have only the models you're interested in using displayed on the list.

Thanks!

Activity

  1. added
    discussionUsed for feature requests, proposals, ideas, etc. Open discussion
    on Oct 24, 2025
  2. github-actions commented on Oct 24, 2025

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    Feel free to ignore if none of these address your specific case.

  3. rekram1-node commented on Oct 24, 2025

    @rekram1-node
    Collaborator

    Yeah this makes sense

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

discussionUsed for feature requests, proposals, ideas, etc. Open discussion

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions