CopilotC-Nvim / CopilotChat.nvim

Chat with GitHub Copilot in Neovim
https://copilotc-nvim.github.io/CopilotChat.nvim/
GNU General Public License v3.0
1.44k stars 67 forks source link

FEAT: Add possibility to use OpenAI gpt models instead of specifically github copilot #342

Closed dqnk closed 3 months ago

dqnk commented 3 months ago

I really like this plugin and the way it works and I would like to be able to use the OpenAI API instead of the Github copilot, while keeping most of the user experience the same. Reasons for this are cheaper prices with the API and faster models (gpt-4o is only available on the API, Github copilot does not support it yet).

I have researched the structure of the current project a little and the feature to me seems possible to implement (you would just have to send the curl to OpenAI instead of Github API). Would you be fine having this feature added to the plugin? Or should I fork it and make a separate plugin (I want to keep most of the UI). Would it be a licensing issue if I did this?

gptlang commented 3 months ago

Discussed here: https://github.com/CopilotC-Nvim/CopilotChat.nvim/discussions/286