Skip to content

Unable to use CLi - ✗ Error: No supported model available #190

Closed

Description

@az-catch

Describe the bug

Can't access any models - just get ✗ Error: No supported model available

Affected version

Version 0.0.333 · Commit 4cbf3d

Steps to reproduce the behavior

Install CLi with npm install -g @github/copilot

Start with copilot

 Welcome to GitHub Copilot CLI
 Version 0.0.333 · Commit 4cbf3da

 Copilot can write, test and debug code right from your terminal. Describe a 
 task to get started or enter ? for help. Copilot uses AI, check for mistakes.

 ● Connected to GitHub MCP Server

 ● Logged in as user: xxxx

 ✗ Error: No supported model available

Expected behavior

Should allow access to the same models I have access to in vscode

Additional context

No response

Activity

  1. added theissue type on Oct 3, 2025
  2. yuwenlong commented on Oct 3, 2025

    @yuwenlong

    Encounter the same problem.

  3. GEKannan commented on Oct 3, 2025

    @GEKannan

    Same issue, I run the cli on node 24.9.0 with env variable NODE_USE_ENV_PROXY=1

  4. pranavjandu commented on Oct 3, 2025

    @pranavjandu

    I ran into the same error.
    I’m using Copilot through my enterprise account.
    Authentication with a PAT, as described here, worked for me.

  5. RyanHecht commented on Oct 3, 2025

    @RyanHecht
    Collaborator

    Hi folks, I'm curious if all of you are using Copilot subscriptions through an organization/enterprise, and whether that entity has the "Copilot CLI" policy enabled

  6. yosefham commented on Oct 3, 2025

    @yosefham

    had the same issue, but just tried to select a model and then some of them showed up
    just try /model <anything>

    Image
  7. az-catch commented on Oct 3, 2025

    @az-catch
    Author

    Hi folks, I'm curious if all of you are using Copilot subscriptions through an organization/enterprise, and whether that entity has the "Copilot CLI" policy enabled

    This solved it for me: Go to https://github.com/enterprises/{{your-enterprise}}/settings/copilot and enable Copilot CLI.

    Image
  8. standby commented on Oct 5, 2025

    @standby

    it is resolved after running the following. Probably, a cached wrong model is used in previous setting.
    /model claude-sonnet-4.5

    Available models: claude-sonnet-4.5, claude-sonnet-4, gpt-5

  9. pinkjy commented on Oct 5, 2025

    @pinkjy

    this command /model claude-sonnet-4.5 solved it for me

  10. kurumeii commented on Oct 6, 2025

    @kurumeii

    Hi folks, I'm curious if all of you are using Copilot subscriptions through an organization/enterprise, and whether that entity has the "Copilot CLI" policy enabled

    Hi, i am using Copilot through organization and has the said policy enabled.

    Image

    Everything worked fine a few version back but for sometimes now i can't use it, everytime i tried to change /model, it just print our this error

      ERROR  No supported model available
    
     file:///home/andrew/.local/share/pnpm/global/5/.pnpm/@github+copilot@0.0.334/node_modules/@github/copilo
     t/index.js:1564:603
    
     -FWe (file:///home/andrew/.local/share/pnpm/global/5/.pnpm/@github+copilot@0.0.334/node_modules/@github/
         copilot/index.js:1564:603)
     -DEt (file:///home/andrew/.local/share/pnpm/global/5/.pnpm/@github+copilot@0.0.334/node_modules/@github/
         copilot/index.js:1564:1087)
     - (file:///home/andrew/.local/share/pnpm/global/5/.pnpm/@github+copilot@0.0.334/node_modules/@github/cop
      ilot/index.js:1912:55650)
     -JG (file:///home/andrew/.local/share/pnpm/global/5/.pnpm/@github+copilot@0.0.334/node_modules/@github/c
        opilot/index.js:138:8647)
     -JN (file:///home/andrew/.local/share/pnpm/global/5/.pnpm/@github+copilot@0.0.334/node_modules/@github/c
        opilot/index.js:138:8831)
     -Object.useSta (file:///home/andrew/.local/share/pnpm/global/5/.pnpm/@github+copilot@0.0.334/node_module
      e            s/@github/copilot/index.js:228:2825)
     -process.env.NODE_ENV.Jr. (file:///home/andrew/.local/share/pnpm/global/5/.pnpm/@github+copilot@0.0.334/
      seState                 node_modules/@github/copilot/index.js:47:12334)
     -kLt (file:///home/andrew/.local/share/pnpm/global/5/.pnpm/@github+copilot@0.0.334/node_modules/@github/
         copilot/index.js:1912:55645)
     -react-stack-bottom- (file:///home/andrew/.local/share/pnpm/global/5/.pnpm/@github+copilot@0.0.334/node_
      rame               modules/@github/copilot/index.js:228:12764)
     -D2 (file:///home/andrew/.local/share/pnpm/global/5/.pnpm/@github+copilot@0.0.334/node_modules/@github/c
        opilot/index.js:138:807)
    
  11. ajayrathiif commented on Oct 8, 2025

    @ajayrathiif

    I am facing the same issue "Execution failed: No supported model available" but i noticed that the Github copilot CLI feature was disabled in setting. Lets hope everything would work once it enabled.

    Image
  12. ajayrathi2004 commented on Oct 8, 2025

    @ajayrathi2004

    So this Github copilot cli is enabled for me but still i am still getting the same error:

    Image
  13. wizsilex commented on Nov 5, 2025

    @wizsilex

    /user switch and selecting my user with "(via gh)" helped me

  14. MahdiBoughariou commented on Nov 19, 2025

    @MahdiBoughariou

    I encountered the same issue. Here is the fix:

    1/ Shut down the Copilot CLI.

    2/ Enable the model in your settings.

    3/ Restart the Copilot CLI and select your required model using /model

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

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions