The requested model is not supported
Describe the bug
╭────────────────────────────────────────────────────────────────────────────╮
│ > /model │
╰────────────────────────────────────────────────────────────────────────────╯
× Model call failed: {"message":"The requested model is not supported.","code"
:"model_not_supported","param":"model","type":"invalid_request_error"}t pr
Affected version
0.0.328 Commit: 3755a93
Steps to reproduce the behavior
- logined copliot proc account ,
- input /model, see × Execution failed: Failed to get response from the AI model; retried 5 times (total retry wait time: 87.15969161928932 seconds)
Expected behavior
No response
Additional context
Your Copilot CLI version is probably too old. Try upgrading to latest with:
npm install -g @github/copilot@latest
And see if it still triggers an error.
Edit: Oh wait, it's probably because you added a │ at the end of your command, just use /model alone and it should show the list of available models that can you navigate with arrows.
Firstly, thank you for helping a fellow community member, @0xHarlan! 🚀
There was a minor improvement released yesterday in 0.0.352 to provide a more helpful error message when trying to use an invalid or unavailable model. However, I wonder if there is something else going on here 🤔
@tangbing : I would appreciate if you could share any additional info from ~/.copilot/logs for this session. 🤔
Firstly, thank you for helping a fellow community member, @0xHarlan! 🚀
There was a minor improvement released yesterday in
0.0.352to provide a more helpful error message when trying to use an invalid or unavailable model. However, I wonder if there is something else going on here 🤔@tangbing : I would appreciate if you could share any additional info from
~/.copilot/logsfor this session. 🤔
I'm happy to help you, if you need anything else, you can contact me. d3900721-4c78-4b26-a54f-43fd4d1a3a8d.log
I encountered the same problem today, without any changes made to my VSCode and Cline extension. Actually, the built-in "Chat" module in VSCode works fine while this problem occurred. I'm quite confused with this problem. Is there any progress upon this issue?
I encountered the same problem today, without any changes made to my VSCode and Cline extension. Actually, the built-in "Chat" module in VSCode works fine while this problem occurred. I'm quite confused with this problem. Is there any progress upon this issue?
Same issue here, Copilot chat works without issue but the CLI Agent throws errors no matter what model I choose.