Allow disabling individual built-in models
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 65/100
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.
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
/modelmenu and model selection shortcuts. - Keep the setting at user scope so it applies across projects.
- Keep the current BYOK provider-level
disabledbehavior unchanged.
Example
{
"disabledModels": ["some/model-id"]
}
- Dominant language
- No language data
- Stars
- 4k
- Forks
- 350
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from CommandCodeAI/command-code
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
CommandCodeAI/command-code#903 · 2 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
CommandCodeAI/command-code#855 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
CommandCodeAI/command-code#841 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
CommandCodeAI/command-code#655 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
CommandCodeAI/command-code#608 ·
All issues in CommandCodeAI/command-code
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
run-llama/llama_index#23199 ·
-
p:2-high pydanty:bug
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
pydantic/pydantic-ai#8642 · 2 comments ·
-
bug untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
opensearch-project/ml-commons#5094 ·
-
bug external groq
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
langchain-ai/langchain#40771 · 1 comment ·
-
ai-observability bug team/ai-observability
Difficulty 2/5 1-3 hours Newbie friendliness 78/100