CodeGPT.nvim icon indicating copy to clipboard operation
CodeGPT.nvim copied to clipboard

Support for FIM (Fill-in-the-middle) ?

Open dtrckd opened this issue 1 year ago • 0 comments

Hi,

With the recent introduction of Codestral (https://mistral.ai/news/codestral/), I am wondering if a support is planned or would be easy to implement for nvim, particularly with the FIM feature. So far, I haven't seen any implementation that handles this for Vim.

What I have in mind is the ability to activate the FIM mode in "copilot" mode to suggest auto-completion at the cursor automatically with a customizable backend. Specifically, I would like to:

  • Control when the suggestion is triggered or not
  • Control the timeout to trigger the call
  • Control cycling through suggestions
  • Control the context window size send (prompt and suffix)

What do you think about this ?

dtrckd avatar Jun 01 '24 11:06 dtrckd