What should I do?
Maybe there're some conditions to prepare before using this plugin.
[CopilotChat] [WARN 13:15:47] /Users/kyoh86/.local/share/nvim/lazy/CopilotChat.nvim/lua/CopilotChat/client.lua:396: Failed to authenticate with copilot: ...zy/CopilotChat.nvim/lua/CopilotChat/config/providers.lua:67: Failed to find GitHub token
[CopilotChat] [WARN 13:15:47] /Users/kyoh86/.local/share/nvim/lazy/CopilotChat.nvim/lua/CopilotChat/client.lua:354: Failed to authenticate with copilot: ...zy/CopilotChat.nvim/lua/CopilotChat/config/providers.lua:67: Failed to find GitHub token
[CopilotChat] [WARN 13:15:47] /Users/kyoh86/.local/share/nvim/lazy/CopilotChat.nvim/lua/CopilotChat/client.lua:354: Failed to authenticate with github_models: ...zy/CopilotChat.nvim/lua/CopilotChat/config/providers.lua:67: Failed to find GitHub token
There are no "hosts.json" and "apps.json". But the GitHub CLI works.
$ ls -la ~/.config/github-copilot
total 8
drwx------@ 3 kyoh86 staff 96 May 23 21:14 .
drwxr-xr-x@ 38 kyoh86 staff 1216 May 30 13:28 ..
-rw-r--r--@ 1 kyoh86 staff 25 May 29 10:58 versions.json
$ gh copilot suggest "Install git"
Welcome to GitHub Copilot in the CLI!
version 1.1.0 (2025-02-10)
I'm powered by AI, so surprises and mistakes are possible. Make sure to verify any generated code or suggestions, and share feedback so that we can
learn and improve. For more information, see https://gh.io/gh-copilot-transparency
? What kind of command can I help you with?
> generic shell command
Suggestion:
sudo apt-get install git
? Select an option
> Copy command to clipboard
Command copied to clipboard!
What should I do?
Maybe there're some conditions to prepare before using this plugin.
There are no "hosts.json" and "apps.json". But the GitHub CLI works.