copilot-cli icon indicating copy to clipboard operation
copilot-cli copied to clipboard

Execution failed: No model available. Check policy enablement under GitHub Settings > Copilot

Open balaven opened this issue 1 month ago • 7 comments

Describe the bug

I have freshly installed copilot cli and get this error: Execution failed: No model available. Check policy enablement under GitHub Settings > Copilot. My subscription is not through an organization, it's an individual account. I am able to use copilot through my VS code IDE though.

Affected version

0.0.361 Commit: fdd8f6541

Steps to reproduce the behavior

Install copilot cli and try to ask it anything, you'll see this error.

Expected behavior

Execution failed: No model available. Check policy enablement under GitHub Settings > Copilot

Additional context

No response

balaven avatar Nov 20 '25 14:11 balaven

Same issue. The models in my earlier Github Copilot CLI stopped working. I could see the models listed. On switching all models gave me errors like - Model call failed: {"message":"The requested model is not supported.","code":"model_not_supported","param":"model","type":"invalid_request_error"} (Request ID: 13FE:15B6D9:247D3B:29E19C:691F5409)

Then I upgraded my Github Copilot CLI to the latest version 0.0.361. Then even the models listing stopped.

Image

spikedelik avatar Nov 20 '25 18:11 spikedelik

@balaven for your individual account can you go to the Copilot Settings -> Features UI and enable these models. Restart the CLI and see if they appear to unblock you:

Image

patniko avatar Nov 20 '25 19:11 patniko

@balaven for your individual account can you go to the Copilot Settings -> Features UI and enable these models. Restart the CLI and see if they appear to unblock you:

Image

Yep. This seems to have done the trick! Wonder what I did that disabled them in the first place. Thanks for helping out.

spikedelik avatar Nov 20 '25 19:11 spikedelik

@balaven for your individual account can you go to the Copilot Settings -> Features UI and enable these models. Restart the CLI and see if they appear to unblock you:

Image

Thank you. That works!

balaven avatar Nov 21 '25 03:11 balaven

any update for this issue?

Austin-RSP avatar Nov 26 '25 13:11 Austin-RSP

Same error: ✘ Execution failed: No model available. Check policy enablement under GitHub Settings > Copilot

Also the /models is empty for me.

There is no "Features UI" in "Copilot Settings" and all the relevant models are enabled.

Any update?

oelezra avatar Nov 26 '25 22:11 oelezra

Same error, but the models appear as enabled.

kevv87 avatar Nov 27 '25 00:11 kevv87

I have a fully working copilot cli installed on one machine but on the other machine I have this error. I've tried older versions of cli with no success.

bsandstrom avatar Dec 08 '25 21:12 bsandstrom

please try to /logout and /login again may works for me

kerrickchan avatar Dec 28 '25 05:12 kerrickchan

Apologies for not seeing this issue sooner 🙇 There has been a lot of effort in #400 addressing a similar issue that has seen multiple changes shipped to address this message.

The "No model available" message can occur for a number of reasons, which I hope have been addressed including:

  • Better detection when requests are blocked due to proxies
  • Aligning various model retrieval code paths
  • Introduction of model enablement in /model picker experience
  • Changes around model filtering

I would ask any folks here to try upgrading to 0.0.373 to see if this is still an issue, sharing any logs or console output you can so we can troubleshoot what is going on and get this addressed.

andyfeller avatar Dec 31 '25 00:12 andyfeller