github / github/copilot-cli

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

Abierto
#3,217 0 comentarios 0 reacciones 0 asignados Ver en GitHub
area:models area:sessions
Lenguaje dominante
Shell
Estrellas
11.2k
Forks
1.9k
Merge medio
14 h 16 min
PR fusionados (30 d)
6

Descripción

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

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
bash, shell
Área
cli
Tipo de issue
Error
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Tranquilo
Claridad
Bastante claro
Aptitud para principiantes
48/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.