github / github/copilot-cli

Auto model fallback on quota limit shows new model in status line but does not resume — requires full restart

Aberta
#3,217 0 comentários 0 reações 0 responsáveis Ver no GitHub
area:models area:sessions
Linguagem predominante
Shell
Estrelas
11.2k
Forks
1.9k
Merge médio
14h 16min
PRs com merge (30d)
6

Descrição

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

Guia de contribuição

Abrir o guia de contribuição

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Stack de tecnologia
bash, shell
Domínio
cli
Tipo de issue
Bug
Dificuldade
4/5
Tempo estimado
3-5 dias
Status de atividade
Pouca atividade
Clareza
Razoavelmente clara
Facilidade para iniciantes
48/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.