Auto model fallback on quota limit shows new model in status line but does not resume — requires full restart
- Vorherrschende Sprache
- Shell
- Sterne
- 11.2k
- Forks
- 1.9k
- Ø Merge
- 14 Std. 16 Min.
- Gemergte PRs (30 T.)
- 6
Beschreibung
### Describe the bug
When the Copilot premium request quota is exhausted mid-session and the model is set to **Auto** (to automatically fall back to another model when the limit is hit), the CLI detects the switch and updates the bottom-left status line to reflect the new model (e.g., `Auto -> GPT-4o`), but **does not resume** the pending response or allow the session to continue. No further prompts are processed. The only recovery is to fully exit and relaunch the CLI.
### Affected version
GitHub Copilot CLI 1.0.44.
### Steps to reproduce the behavior
1. Open Copilot CLI (`copilot`).
2. Use `/model` to set the model to **Auto** (automatic fallback when quota is reached).
3. Submit prompts until the premium request quota is exhausted.
4. Observe the bottom-left status line — it updates to show the fallback model (e.g., `Auto → GPT-4o`).
5. Attempt to continue the conversation or re-submit the last prompt. It will still tell you you've reached limit.
6. Notice the CLI is stuck, no response is generated and no new prompts are processed.
### Expected behavior
After the model automatically switches to the Auto-selected fallback, the CLI should **seamlessly resume**, either retrying the last request automatically or allowing the user to continue the session without any interruption.
### Additional context
- **Operating system:** Linux
- **CPU architecture:** x86_64
- **Terminal emulator:** GNOME Terminal
- **Shell:** bash
- **Installation method:** curl install script
- **Experimental mode enabled:** no
- **Model at time of quota hit:** Claude Sonnet 4.6 (current default)
- **Fallback model shown in status line:** `Auto → GPT-4o`
**Workaround:** Exiting (`ctrl+d` or `ctrl+c×2`) and relaunching `copilot` starts a new session that uses the Auto-selected fallback model normally.
**Note:** The status line correctly reflects the new model after the switch, suggesting the fallback model selection logic *does* trigger, the bug is in the resumption step after switching.
Beitragsleitfaden
Rechercherichtung
No source file or test is named. Start by reproducing the issue in Copilot CLI with `/model` set to Auto, then follow the quota-limit fallback and status-line update flow. Done means the session resumes after switching models and accepts a subsequent prompt without requiring a restart.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- bash, shell
- Bereich
- cli
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Ruhig
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 48/100