github / github/copilot-cli

Quickly switch between pre-set model configs

未關閉
#4,190 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
area:configuration area:models
主要語言
Shell
星號
11.2k
分支
1.9k
平均合併
14 小時 16 分鐘
30 天內合併 PR
6

描述

### Describe the feature or problem you'd like to solve

Enable rapid model/effort switching for better efficiency

### Proposed solution

As developer I want in many cases to use the strongest model with highest effort level available. However, typing /model, choosing the model with arrows, then choosing the effort level with right left is cumbersome and might cause be to avoid it and therefore not use the right model for the task.

My proposal is to enable mapping keyboard shortcuts to pre-set models and effort so I can quickly switch between them based on the task.
I assume there are other use cases for custom keyboard mapping.

Alternatively, add option to create custom commands, like for example "/cheap" will switch to a pre-set model I choose with pre-set effort level.
Using an approach like "/agent cheap" can work but it changes tools/behavior and not generic enough.

Another option is to create another command (e.g. "/pmodel") which shows a list of 5 pre-set model configurations I can quickly choose by number.

### Example prompts or workflows

_No response_

### Additional context

_No response_

貢獻指南

開啟貢獻指南

研究方向

issue 中沒有指定檔案、測試或進入點。先定位現有的 /model 流程,以及任何鍵盤快速鍵或自訂命令的處理邏輯。將提議的方法與目前的 CLI 行為進行比較;done 應提供一種在預設的模型與 effort 設定之間快速切換的方式。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
shell
領域
cli
Issue 類型
功能
難度
5/5
預估耗時
一週以上
活躍度
冷清
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。