localCopilot
localCopilot copied to clipboard
GitHub authentication
Greetings Faris ,
mid there a way to bypass the authentication process for GitHub Copilot, because the plug-in that is in vscode is not fully offline , but needs authentication in order to make your middleware works.
thanks a lot
that's an interesting problem, I was not aware of this, I always was authenticated when trying it out. Could you somehow find out what the exact authentication call is? maybe using wireshark or tcpdump?
what you can do now is use a different frontend like fauxpilot frontend or code-clippy
- https://github.com/FarisHijazi/gpt-code-clippy
- https://github.com/Venthe/vscode-fauxpilot
that's an interesting problem, I was not aware of this, I always was authenticated when trying it out. Could you somehow find out what the exact authentication call is? maybe using wireshark or tcpdump?
i will check it once i have time , i think the best solution currently is to create opensource VSIX that will do Github Copilot work without the need for too many dependencies. for example fauxpilot will require fauxpilot server ( which runs on docker and requires nvidia ) which limits the customization of a backend.
I think fauxpilot frontend can run on oobabooga. I'm not a fan of fauxpilot server
I had a similar issue with the github copilot extension failing to initialize the extension due to being unable to retrieve a token from github for the copilot subscription.
Could you guys run wireshark or tcpdump to capture the authentication request, maybe we could make an endpoint to emulate that and accept the auth
Just found a similar issue on the FauxPilot repo:
https://github.com/fauxpilot/fauxpilot/issues/1#issuecomment-1264282796
Edit: Here's a step-by-step:
https://github.com/fauxpilot/fauxpilot/issues/1#issuecomment-1445189438