github / github/copilot-cli

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

Aperta
#3,715 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
area:input-keyboard area:models
Lingua principale
Shell
Stelle
11.2k
Fork
1.9k
Merge medio
14h 16m
PR unite (30g)
6

Descrizione

### 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.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia eseguendo il comando `/model` e confronta l’interazione dell’elenco dei modelli con quella dei selettori numerati di effort e context. Segui il punto di ingresso di `/model` e il comportamento del selettore esistente; il lavoro è completato quando le scelte del modello accettano la selezione rapida numerica, la navigazione con le frecce continua a funzionare e l’interazione è coerente in tutti i passaggi.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
shell
Ambito
cli
Tipo di issue
Funzionalità
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Tranquilla
Chiarezza
Abbastanza chiara
Idoneità per principianti
64/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.