github / github/copilot-cli

Resuming a session has strange ux with regards to model and reasoning

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

Descrizione

### Describe the bug

If you have a session that's was done on `gpt-5.6-terra` with `medium`, and you `--resume` it, with either `--model=gpt-5.6-luna --reasoning-effort=xhigh` or `gpt-5.6-luna + xhigh` in your `~/.copilot/settings.json`, the `reasoningEffort` is honoured, but the model is not, and your resumed session will be on `gpt-5.6-terra xhigh`

Feels like this should be consistent? It should either:

- Explicitly honour the original session, keeping the settings the same
- Explicitly honour your copilot CLI args and/or settings.json

I would rather the latter personally, but raising this as a UX bug.

This also affects sessions resumed via copilot-sdk.

### Affected version

1.0.77

### Steps to reproduce the behavior

_No response_

### Expected behavior

_No response_

### Additional context

_No response_

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia dal flusso --resume e traccia come --model, --reasoning-effort e ~/.copilot/settings.json vengono applicati durante il ripristino di una sessione. Controlla anche il percorso di resume corrispondente di copilot-sdk. Il lavoro è completato quando la precedenza scelta è coerente sia per le sessioni CLI sia per quelle SDK, con copertura di regressione per model e reasoning effort.

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

Valutazione

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

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.