copilot.el icon indicating copy to clipboard operation
copilot.el copied to clipboard

copilot chat poc

Open knilink opened this issue 1 year ago • 0 comments

chrome-extension-nlipoenfbbikpbjkfpfillcgkoblgpmj-setup-react-html-from-install.webm

just to share some findings about how conversation feature can possibly be implemented for anyone who is interested

language server will behave in 2 different way depends on "source" parameter provided in the conversation/create request:

  • panel: server will analysis the conversation at the end of the response and will suggest title and follow up question
  • inline: server will try to update the code and notify editor about the new file content, may need to select a region otherwise it's assumed the entire filed is selected and the llm may be confused about what it needs to do

the server use $/progress notification to send all kinds of responses the server send conversation/context request to collected chat context, if not handled, server will assume no filed is opened

simply delete *Copilot Chat* buffer to start a new conversation

knilink avatar Sep 25 '24 09:09 knilink