Skip to content

[Bug] Models list shows only "Auto (Copilot)", selecting it throws "Resolved model not found" error #1576

Description

@chungyinleo

I am experiencing an issue where CopilotChat.nvim cannot find or use any of the standard models (Gemini, Claude, GPT), even though my core Copilot configuration is fully online and inline suggestions are working perfectly.

Current Behavior:

  1. Running :CopilotChatModels displays only one option: 1. Auto (Copilot) [copilot].
  2. Selecting that option and trying to use the chat causes the plugin to crash with a Resolved model not found error.

The core copilot.lua extension is verified online, and code completions work normally, so this does not appear to be an issue with my GitHub subscription or basic Copilot connectivity. Re-authenticating did not solve the issue.

Steps to Reproduce:

  1. Ensure copilot.lua is authenticated and actively providing inline suggestions.
  2. Run :CopilotChatModels to see only the single fallback option.
  3. Open CopilotChat and send a message using that model.

Error Logs:

[ERROR] Resolved model not found: gpt-5.4-mini                                                                                                   
stack traceback:                                                                                                                                 
^I...hare/nvim/lazy/CopilotChat.nvim/lua/CopilotChat/init.lua:201: in function <...hare/nvim/lazy/CopilotChat.nvim/lua/CopilotChat/init.lua:198> 
^I[C]: in function 'error'                                                                                                                       
^I...re/nvim/lazy/CopilotChat.nvim/lua/CopilotChat/client.lua:328: in function 'ask'                                                             
^I...hare/nvim/lazy/CopilotChat.nvim/lua/CopilotChat/init.lua:539: in function <...hare/nvim/lazy/CopilotChat.nvim/lua/CopilotChat/init.lua:468> 
^I[C]: in function 'xpcall'                                                                                                                      
^I...hare/nvim/lazy/CopilotChat.nvim/lua/CopilotChat/init.lua:205: in function <...hare/nvim/lazy/CopilotChat.nvim/lua/CopilotChat/init.lua:197> 

This error is from my Linux desktop, but the same happen on my Mac too at essentially the same time, without updating any neovim plugins. My github overview indicates I am not exceeding the quota.

Environment / System Info:

  • OS: Linux (NixOS)
  • Neovim Version: 0.12.3 (I am using Lazyvim)
  • CopilotChat.nvim Branch: main

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions