CommandCodeAI / CommandCodeAI/command-code

Allow disabling individual built-in models

未关闭
#851 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

p2
主要语言
没有语言数据
星标
4k
派生
350
PR 合并指标
30 天内没有已合并 PR

描述

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"]
}

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

从 ~/.commandcode/providers.json 所表示的用户范围配置开始,然后跟踪 /model 菜单和模型选择快捷键。检查内置模型 ID 和提供商级别的禁用设置是如何加载和过滤的。完成的标准是:用户可以跨项目禁用选定的内置模型,同时现有的 BYOK 提供商行为保持不变。

由索引模型根据 Issue 内容生成。

评估

领域
ai, cli
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
活跃
描述清晰度
基本清楚
新手友好度
65/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。