-
Notifications
You must be signed in to change notification settings - Fork 756
Open
Labels
Description
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
- Be on a Windows machine, not WSL.
- Install latest
copilotversion via thenpm install -g @github/copilotcommand per the documentation. - Run
copilot. - Login if necessary with
/login. - Run the
/modelcommand.
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
npmversion: 10.9.3nodeversion: v22.19.0