/model picker is inconsistent: model step is arrow-keys-only, but the effort/context steps accept direct number input
- 主要语言
- 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