Skip to content
Discussion options

You must be logged in to vote

For authentication, all github copilot stuff uses same file for storing the token afaik, so if you are using for example copilot cli or even vscode, I think its stored in that file that we are reading as well. I am definitely sure that the CLI extension at least works like that. So if it is working for you then you must've authenticated through one of those methods and that stored your token.

You can see how the file is being loaded here:

https://github.com/CopilotC-Nvim/CopilotChat.nvim/blob/canary/lua/CopilotChat/copilot.lua#L85

And we will throw an error if it fails to load the token from there as well

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@Coding-Journey
Comment options

Answer selected by jellydn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #257 on April 03, 2024 11:56.