github / github/copilot-cli

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

Offen
#4,340 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

area:models area:sessions
Vorherrschende Sprache
Shell
Sterne
11.2k
Forks
1.9k
Ø Merge
14 Std. 16 Min.
Gemergte PRs (30 T.)
6

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Beginne beim --resume-Ablauf und verfolge, wie --model, --reasoning-effort und ~/.copilot/settings.json beim Wiederherstellen einer Sitzung angewendet werden. Prüfe auch den entsprechenden copilot-sdk-Resume-Pfad. Als abgeschlossen gilt die Aufgabe, wenn die gewählte Priorität sowohl für CLI- als auch für SDK-Sitzungen konsistent ist und eine Regressionstestabdeckung für model und reasoning effort vorhanden ist.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
shell
Bereich
ai, cli
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Ruhig
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
52/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.