Copilot CLI resume session switches back to default model
- Lingua principale
- Shell
- Stelle
- 11.2k
- Fork
- 1.9k
- Merge medio
- 14h 16m
- PR unite (30g)
- 6
Descrizione
### Describe the bug
bug: Copilot CLI resume session switches automatically back to default model
### Affected version
GitHub Copilot CLI 1.0.78.
### Steps to reproduce the behavior
## Steps to reproduce
1. Start a session with a specific model:
```bash
copilot --yolo --model=gpt-5.6-terra --reasoning-effort=high
```
2. Work in the session and exit Copilot CLI.
3. Resume the session:
```bash
copilot --resume
```
or:
```bash
copilot --model=gpt-5.6-terra --reasoning-effort=high --resume
```
After finishing loading the session , Copilot CLI silently switches to the default model before any human input.
The conversation context is restored correctly, but the selected model is not preserved.
## Expected behavior
The resumed session should continue using `gpt-5.6-terra` in the begining .
### Expected behavior
_No response_
### Additional context
_No response_
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Riproduci il problema con GitHub Copilot CLI 1.0.78 usando i comandi --model, --reasoning-effort e --resume elencati. Traccia il modo in cui la sessione ripresa ripristina la conversazione e il modello selezionato; il lavoro è completato quando la ripresa di una sessione mantiene gpt-5.6-terra attivo prima del successivo input umano.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- shell
- Ambito
- cli
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Tranquilla
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 58/100