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 摘要。