github / github/copilot-cli

Execution failed: 421 Misdirected Request listing models

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

Dieses Issue hat noch niemand übernommen.

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

Beschreibung

Describe the bug

Hello, sorry for resuming the issue #173 , but today:

GitHub Copilot CLI 1.0.85.
Run 'copilot update' to check for updates.

Free copilot plan, i try to do /model and i get the issue:
Error loading model list: Error: 421 "Misdirected Request\n" (Request ID: ....)

Then i tried /model auto and that worked:
Model changed from claude-sonnet-5 (medium) to Auto for this session

And now i cant go back to my selected model, doing /model claude-sonnet-5 gives:
Unable to load available models list

Is this a bug or something expected related to free plan?

Affected version

GitHub Copilot CLI 1.0.85.

Steps to reproduce the behavior
  1. Resumed an old session, using a free plan
  2. type /model
  3. See the 421 error
Expected behavior

I expect to see the list of models when typing /model and to get a "model changed" confirmation when typing /model claude-sonnet-5

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

Reproduzieren Sie den Fehler in GitHub Copilot CLI 1.0.85 mit einem kostenlosen Plan, indem Sie eine Sitzung fortsetzen und /model ausführen, und vergleichen Sie ihn anschließend mit /model auto und /model claude-sonnet-5. Verfolgen Sie die Verarbeitung der model-list-Anfrage und die 421-Antwort; das Issue ist abgeschlossen, wenn das Auflisten der Modelle und die Auswahl von claude-sonnet-5 beide mit Bestätigung erfolgreich sind.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
shell
Bereich
cli
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Aktiv
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
48/100

Neue Issues direkt in Ihr Postfach

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