Issue Description:
Whenever I reinstall Neovim and lazy.nvim tries to load the CopilotChat.nvim plugin while not logged into my Copilot account through the copilot.lua plugin, it crashes with an error. The error states that it failed to run 'config' due to a missing 'github-copilot/hosts.json' file. This error occurs consistently upon starting neovim and when not authenticated with GitHub Copilot.
Steps to Reproduce:
Open Neovim.
Ensure that I am not logged into my GitHub Copilot account through copilot.lua plugin.
Let Lazy.nvim load CopilotChat.nvim.
Error Message:
Failed to run 'config' for CopilotChat.nvim
Vim:E484: Can't open file /home/username/.config/github-copilot/hosts.json
stacktrace:
/CopilotChat.nvim/lua/CopilotChat/copilot.lua:91 in get_cached_token
/CopilotChat.nvim/lua/CopilotChat/copilot.lua:242 in fn
/CopilotChat.nvim/lua/CopilotChat/utils.lua:26 in Copilot
/CopilotChat.nvim/lua/CopilotChat/init.lua:550 in setup
Issue Description: Whenever I reinstall Neovim and lazy.nvim tries to load the CopilotChat.nvim plugin while not logged into my Copilot account through the copilot.lua plugin, it crashes with an error. The error states that it failed to run 'config' due to a missing 'github-copilot/hosts.json' file. This error occurs consistently upon starting neovim and when not authenticated with GitHub Copilot.
Steps to Reproduce: Open Neovim. Ensure that I am not logged into my GitHub Copilot account through copilot.lua plugin. Let Lazy.nvim load CopilotChat.nvim.
Error Message: Failed to run 'config' for CopilotChat.nvim Vim:E484: Can't open file /home/username/.config/github-copilot/hosts.json
stacktrace:
Neovim version 9.5