CommandCodeAI / CommandCodeAI/command-code

Allow disabling individual built-in models

Open
#851 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

p2
Dominant language
No language data
Stars
4k
Forks
350
PR merge metrics
No merged PRs in 30d

Description

Feature request

I'd like to be able to disable individual built-in Command Code models from the /model menu.

Right now, ~/.commandcode/providers.json supports disabling an entire BYOK provider with "disabled": true, but there doesn't seem to be a supported way to hide or disable one specific built-in model.

I'd like a configuration option at user scope that lets me disable specific models without removing access to the rest of the catalog. This would make the model picker less cluttered and make it easier to prevent accidental selection of models I don't want to use.

Suggested behavior

  • Support an allowlist or denylist for built-in model IDs.
  • Apply it to the /model menu and model selection shortcuts.
  • Keep the setting at user scope so it applies across projects.
  • Keep the current BYOK provider-level disabled behavior unchanged.

Example

{
  "disabledModels": ["some/model-id"]
}

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the user-scope configuration represented by ~/.commandcode/providers.json, then trace the /model menu and model-selection shortcuts. Check how built-in model IDs and provider-level disabled settings are loaded and filtered. Done means a user can disable selected built-in models across projects while the existing BYOK provider behavior remains unchanged.

Written by the indexing model from the issue text.

Assessment

Domain
ai, cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.