github / github/copilot-cli

/model picker is inconsistent: model step is arrow-keys-only, but the effort/context steps accept direct number input

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

描述

### Summary
The `/model` flow uses two different interaction patterns across its consecutive steps. Selecting the **model** requires arrow-key navigation, but the **subsequent** prompts (reasoning effort, context, etc.) are numbered and accept direct numeric entry. This forces a hand/keyboard-mode switch mid-flow and is surprising.

### Steps to reproduce
1. Run `/model`.
2. **Step 1 — model list:** all models are listed. The only way to move the selection is the arrow keys; typing `1`, `2`, … does nothing.
3. Pick a model with arrows and press Enter.
4. **Step 2+ — effort / context / etc.:** these options are numbered, so you can immediately press `1` / `2` to choose — no arrows needed.

### Expected
Consistent selection across all steps of `/model`. Either:
- the model list also supports direct numeric quick-select (preferred — faster for long lists), **or**
- all steps use the same single mechanism.

### Actual
Step 1 is arrow-only; later steps are numbered/typeable. The interaction model changes partway through the same command.

### Environment
- Copilot CLI: `1.0.60`
- OS: Windows 11 Pro
- Terminal: WezTerm
- Shell: PowerShell 7.6.2

### Suggested fix
Add numeric quick-select to the model list to match the effort/context pickers (keep arrows working too). This keeps long model lists fast while making the whole `/model` flow consistent.

貢獻指南

開啟貢獻指南

研究方向

首先執行 `/model` 命令,並將模型清單的互動方式與帶編號的 effort 和 context 選擇器進行比較。追蹤 `/model` 入口點和現有選擇器的行為;當模型選項接受數字快速選取、箭頭導覽仍然有效,且所有步驟中的互動保持一致時,即表示完成。

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

評估

技術堆疊
shell
領域
cli
Issue 類型
功能
難度
3/5
預估耗時
1-2 天
活躍度
冷清
描述清晰度
基本清楚
新手友好度
64/100

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

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