Skip to content

feature: filter unsupported models #1214

Closed

Description

@sudo-tee

I am using github-copilot as a provider

My employer is blocking access to some models, but when opencode list models it still includes them in the results.

Is there a way to filter out theses models ?

For example in CopilotChat.nvim models that are not supported are not displayed when changing models, here is the relevant code.

https://github.com/CopilotC-Nvim/CopilotChat.nvim/blob/f7eb423baccbb27f5b5608fb91acee2d6bc769c7/lua/CopilotChat/config/providers.lua#L161

I would love to be able to filter them so I don't have false hopes when a new model drops.

Activity

  1. self-assigned this
    on Jul 22, 2025
  2. Kivayan commented on Nov 25, 2025

    @Kivayan

    That would be fantastic addition. Authorizing OpenRouter basically renders model selection useless due to the amount of models to scroll through.

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