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

Support for other models than GPT-4, now that Copilot allows it in VSCode ?

Open Fulguritude opened this issue 10 months ago • 7 comments

Copilot in VSCode has started to provide support for alternative LLMs (see image). Is there a way to do this with LSP-Copilot ? If so, how ? If not, is it a planned feature ?

I use Sublime Text and would rather not change, but would prefer to use Claude Sonnet 3.5.

Thanks in advance.

Image

Fulguritude avatar Feb 04 '25 22:02 Fulguritude

Thanks for reporting this! We are actively working on this :)

TerminalFi avatar Feb 05 '25 02:02 TerminalFi

Tracking features here https://github.com/TerminalFi/LSP-copilot/pull/236

TerminalFi avatar Feb 05 '25 03:02 TerminalFi

It looks like the "model selecting" in VSCode is only for chat rather than completion?

jfcherng avatar Feb 05 '25 17:02 jfcherng

@jfcherng Indeed, for now, just for chat. I don't know how Sonnet 3.5 would fare with autocompletions tbh, but I suspect it might be quite nice. However it's probably out of scope for this project, since from what I'm reading, y'all stick to only doing features done by regular copilot.

But honestly, just being able to pick the model in chat is already better by a wide margin and would be highly appreciated.

Fulguritude avatar Feb 05 '25 17:02 Fulguritude

Yeah we (me & @TerminalFi) are investigating https://www.npmjs.com/package/@github/copilot-language-server while at this moment LSP-copilot uses https://github.com/github/copilot.vim . In our tests, @github/copilot-language-server seems almost to be a drop-in replacement for the later one, so we probably just need to add some new features.

jfcherng avatar Feb 05 '25 17:02 jfcherng

What LLM does this extension use by default?

Gabriel-p avatar Feb 09 '25 13:02 Gabriel-p

GPT-4o I suspect, since it's the only one in the list without "Preview" next to it

Fulguritude avatar Feb 10 '25 14:02 Fulguritude