vim-ai icon indicating copy to clipboard operation
vim-ai copied to clipboard

Question: Is it possible to configure vim-ai to use Copilot chat?

Open atsiporu opened this issue 1 year ago • 5 comments

Is it possible to configure vim-ai to use Copilot chat?

atsiporu avatar Mar 20 '24 22:03 atsiporu

This plugin is currently possible to configure with OpenAI-competible http endpoints. Does Copilot chat expose http API?

madox2 avatar Mar 24 '24 13:03 madox2

I know it exposes https://api.githubcopilot.com/chat/completions for the chat endpoint. Not sure if it's Chat GPT compatible though

atsiporu avatar Mar 24 '24 14:03 atsiporu

Is there any documentation on the API?

madox2 avatar Mar 24 '24 16:03 madox2

Yes it really good and useful to add the option for copilot chat

RomaLzhih avatar Sep 07 '24 23:09 RomaLzhih

Is there any documentation on the API?

A possible method to obtain the API from the neovim plugin copilot.lua.

RomaLzhih avatar Sep 12 '24 01:09 RomaLzhih