Skip to content

Execution failed: 421 Misdirected Request listing models #4868

Description

@ndorigatti

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions