Execution failed: No model available. Check policy enablement under GitHub Settings > Copilot
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
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.
@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:
@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:
![]()
Yep. This seems to have done the trick! Wonder what I did that disabled them in the first place. Thanks for helping out.
@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:
![]()
Thank you. That works!
any update for this issue?
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?
Same error, but the models appear as enabled.
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.
please try to /logout and /login again may works for me
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
/modelpicker 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.