-
Notifications
You must be signed in to change notification settings - Fork 82
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
Is it possible to support GitHub Copilot Chat? #84
Comments
It is important to note that GitHub Copilot Chat supports various models, including Given the widespread use and active subscriptions to GitHub Copilot Chat among developers, it would be highly beneficial for the |
As much as I remember, Copilot is based on OpenAIs ChatGPT. I remember
I tried it out with helix, but I am getting the following error:
EDIT My current lsp-ai config for helix can be found in flake repo. You can kinda read like json, just replace the EDIT 2 I looked a bit more into the whole Open AI API compatibility. While
|
I think I got chat working using https://api.githubcopilot.com/chat/completions! The key for it to work is to set the model to be an empty string As for the code completion, this is gonna be tricky... tldr; chat can be used now (please test it and give feedback) and completions cannot be configured with the current state of the code (I guess?) EDIT: it is possible to use the chat API to make completions as shown in the wiki: https://github.com/SilasMarvin/lsp-ai/wiki/Configuration#instruction |
As the titles says.
References:
https://docs.github.com/en/copilot/quickstart
https://github.com/CopilotC-Nvim/CopilotChat.nvim
The text was updated successfully, but these errors were encountered: