github / github/copilot-cli

Background task agents silently substitute requested model without warning

Ouverte
#3,266 0 commentaires 2 réactions 0 personnes assignées Voir sur GitHub
area:agents area:models
Langage dominant
Shell
Étoiles
11.2k
Forks
1.9k
Merge moyen
14 h 16 min
PR mergées (30 j)
6

Description

### Describe the bug

When launching a background agent via the task tool with an explicit model parameter, the agent silently substitutes
a different model and completes without any indication of the substitution — until you inspect the model: field in
the result metadata.

Environment: GitHub Copilot CLI v1.0.44, Windows

### Affected version

GitHub Copilot CLI 1.0.44

### Steps to reproduce the behavior

Steps to reproduce:

1. Launch a background agent with model: "claude-opus-4.7" or model: "gpt-5.5" or model: "gpt-5.3-codex", by prompting "do a tri-model review using claude opus 4.7, gpt 5.5 and gpt 5.3 codex" with claude sonnet as the active model.
2. Agent completes with status: idle
3. Read result — model: claude-sonnet-4.6 appears in the metadata, not the requested model

Actual behaviour:

Agent silently downgrades to claude-sonnet-4.6 and returns a result. No warning, no error, nothing in the output
indicating the substitution occurred. The substitution is only discoverable by reading the raw metadata line model:
in the agent result.

Why this matters:

Workflows that depend on specific model capabilities (e.g., multi-model review loops requiring claude-opus-4.7,
gpt-5.5, and gpt-5.3-codex for independent perspectives) are silently invalidated. The caller believes they got
three independent reviews when in fact two were the same model. gpt-5.3-codex appeared to work correctly; it was
claude-opus-4.7 and gpt-5.5 that substituted.

### Expected behavior

Either:

- Use the requested model, or
- Fail with a clear error: "Model 'claude-opus-4.7' is not available in this environment" so the caller can decide
how to proceed

### Additional context

_No response_

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

Commencez par reproduire la tâche en arrière-plan avec un modèle explicite tel que claude-opus-4.7 ou gpt-5.5, puis inspectez les métadonnées du résultat où le modèle substitué est affiché. Suivez la sélection du modèle par l’outil de tâche et faites en sorte que l’exécution utilise le modèle demandé ou indique qu’il n’est pas disponible ; vérifiez qu’aucune substitution silencieuse ne se produit plus.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
shell
Domaine
ai, cli
Type d'issue
Bug
Difficulté
3/5
Temps estimé
1-2 jours
Activité
Calme
Clarté
Plutôt claire
Accessibilité débutants
52/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.