Skip to content

Version 0.0.338 does not have models available #264

@nirpate-msft

Description

@nirpate-msft

Describe the bug

I am using the experimental Windows release.

I updated Copilot CLI to 0.0.338 today to try the new /model flag, but when I entered the command it crashes with this error and exits copilot, saying "No supported model available":

 ● Signed in successfully as nirpate-msft! You can now use Copilot.

 ✗ Error: No supported model available


  ERROR  No supported model available

 file:///C:/.tools/.npm-global/node_modules/@github/copilot/index.js:1900:680

 - lYe (file:///C:/.tools/.npm-global/node_modules/@github/copilot/index.js:1900:680)
 - Zxt (file:///C:/.tools/.npm-global/node_modules/@github/copilot/index.js:1900:1374)
 -  (file:///C:/.tools/.npm-global/node_modules/@github/copilot/index.js:2257:55864)
 - FG (file:///C:/.tools/.npm-global/node_modules/@github/copilot/index.js:138:8667)
 - $g (file:///C:/.tools/.npm-global/node_modules/@github/copilot/index.js:138:8851)
 - Object.useState (file:///C:/.tools/.npm-global/node_modules/@github/copilot/index.js:228:2823)
 - process.env.NODE_ENV.zr.useState (file:///C:/.tools/.npm-global/node_modules/@github/copilot/index.js:47:12327)
 - Z7t (file:///C:/.tools/.npm-global/node_modules/@github/copilot/index.js:2257:55859)
 - react-stack-bottom-frame (file:///C:/.tools/.npm-global/node_modules/@github/copilot/index.js:228:12762)
 - x2 (file:///C:/.tools/.npm-global/node_modules/@github/copilot/index.js:138:808)

Uninstalling + reinstalling the version did not fix the issue, but installing version 0.0.329, which introduced the /model flag, seems to have worked, as I now see the dropdown menu and can choose a different model

 Select Model

 Choose the AI model to use for Copilot CLI. The selected model will be persisted and used for future sessions.

 ❯ 1. Claude Sonnet 4
   2. GPT-5 (current)
   3. Claude Sonnet 4.5 (default)
   4. Cancel (Esc)

Is this a possible regression in versions > 0.0.329 on Windows?

Affected version

0.0.338 Commit: 877e86a

Steps to reproduce the behavior

  1. Be on a Windows machine, not WSL.
  2. Install latest copilot version via the npm install -g @github/copilot command per the documentation.
  3. Run copilot.
  4. Login if necessary with /login.
  5. Run the /model command.

Expected behavior

Copilot should show a dropdown list + picker of available models:

 Select Model

 Choose the AI model to use for Copilot CLI. The selected model will be persisted and used for future sessions.

 ❯ 1. Claude Sonnet 4
   2. GPT-5 (current)
   3. Claude Sonnet 4.5 (default)
   4. Cancel (Esc)

Additional context

  • I am using the experimental Windows release.
  • OS Version: 10.0.22631 Build 22631
  • npm version: 10.9.3
  • node version: v22.19.0

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