Comment: Copilot Chat Prompt Contribution
I happened to stumble upon this repo as I'm currently in the process of doing something very similar. I've been analyzing Github's own Copilot plugin, and I extracted the prompts that it uses to create its Copilot chat functionality. Here's a list of all the prompts I extracted: https://github.com/B00TK1D/copilot-prompts. Feel free to use these as you'd like to improve the functionality of your own plugin.
Hey @B00TK1D !
Thanks a lot for that, I'll consider adding it to the plugin
I happened to stumble upon this repo as I'm currently in the process of doing something very similar. I've been analyzing Github's own Copilot plugin, and I extracted the prompts that it uses to create its Copilot chat functionality. Here's a list of all the prompts I extracted: https://github.com/B00TK1D/copilot-prompts. Feel free to use these as you'd like to improve the functionality of your own plugin.
@B00TK1D very cool research! are you also building a copilot chat plugin for neovim?
@GitMurf Not a plugin - I'm actually working on a general purpose API for copilot. I have my code over at https://github.com/B00TK1D/copilot-api. Unfortunately it broke on February 1 because Github changed the API endpoints, but I'm hoping to get it back up in a week or so.
Very cool, thank you for that! But I'm trying to avoid python dependencies.
For the API endpoint shift, I had the same issue, the fix is simple, you just need to replace the URI from https://copilot-proxy.githubusercontent.com/v1/chat/completions to https://api.githubcopilot.com/chat/completions
that shift in api URI leads me to believe maybe they are finally getting ready to actually make the api more generally available and supported! We can hope at least ;) haha