emacs-copilot icon indicating copy to clipboard operation
emacs-copilot copied to clipboard

C-c C-k with `phi-2.Q5_K_M.llamafile` prints "usage"

Open Hi-Angel opened this issue 9 months ago • 0 comments

So, just testing plugin out, I downloaded the smallest model phi-2.Q5_K_M.llamafile. While running C-c C-k the model just inserts the "usage" text into the buffer.

To reproduce

  1. Download and put to $PATH the phi-2.Q5_K_M.llamafile
  2. Set the binary name (setq copilot-bin "phi-2.Q5_K_M.llamafile")
  3. Open any file and press C-c C-k to invoke completion

Expected

Some text from copilot is inserted

Actual

A large paragraph of "usage" appears in the buffer.

Hi-Angel avatar Mar 03 '25 07:03 Hi-Angel