-
-
Notifications
You must be signed in to change notification settings - Fork 130
Copilot Chat - "Unauthorized" Error #1052
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Are you using copilot.vim? And can you try logging out from it and then deleting json files in ~/.config/github-copilot? |
I use LazyVim with the Copilot and Copilot Chat Extras, |
Can you show the output of |
Alright so you have gpt-4o selected on github_models, disable the github_models provider or use model that is for regular copilot. Example on how to disable github models: https://github.com/deathbeam/dotfiles/blob/master/nvim/.config/nvim/lua/config/copilot.lua#L146 Also make sure your plugin is up to date |
@deathbeam Switching to a non github_models model (gpt-4o) works! |
github_models is coming from marketplace, its just models hosted on azure with some limits. And they break when you try to use organization copilot subscription looks like, you arent first person this happened to. I will probably filter out gpt-4o from there as this name conflict is fairly annoying |
Update model selection logic to use model names with versioning instead of just IDs. This improves user experience by showing more descriptive model names in the selection UI and ensures the latest version of each model is preferred when filtering available models. Also updates the default model to the latest gpt-4o-2024-11-20 version. Related CopilotC-Nvim#1052 (comment)
Update model selection logic to use model names with versioning instead of just IDs. This improves user experience by showing more descriptive model names in the selection UI and ensures the latest version of each model is preferred when filtering available models. Also updates the default model to the latest gpt-4o-2024-11-20 version. Related #1052 (comment)
I switched the default model to latest gpt-4o one and also improved the listing by a bit so should be better in future hopefully |
I'm trying to use Copilot Chat but keep getting the following error:
I have access to Copilot through my work organization, and Copilot Chat in the IDE is enabled.

When using Copilot Chat in VS Code with the same credentials, it just works fine.
Has anyone encountered this issue before or know how to resolve it?
Screenshot from within Neovim


The text was updated successfully, but these errors were encountered: