Skip to content

option to change LLM models #77

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
zihaolam opened this issue Apr 29, 2025 · 6 comments
Open

option to change LLM models #77

zihaolam opened this issue Apr 29, 2025 · 6 comments

Comments

@zihaolam
Copy link

  • on github copilot docs, there are so many models available
  • on IDES like vscode, cursor, etc, its one of the basic features to change LLM models
  • in neovim, there is no transparency in what models we're using and no option to change the models
  • models are seemingly giving bad autocomplete predictions, and i'd just love to test out the later models with autocompletion

plz copilot, give vim users some love

@tpope
Copy link
Collaborator

tpope commented May 3, 2025

Most of the models you have been reading about in the documentation are for chat, which Copilot.vim does not currently support. For completions, there is generally only one production model available, plus occasionally a preview model. As of today, May 3rd, there's a gpt-4o-copilot-2025-04-03 preview model available, which you can opt into with the following in your vimrc:

let g:copilot_settings = #{selectedCompletionModel: 'gpt-4o-copilot-2025-04-03'}

Or init.lua:

vim.g.copilot_settings = { selectedCompletionModel = 'gpt-4o-copilot-2025-04-03' }

It's on my todo list to add a mechanism for listing available completion models in Copilot.vim, but since it's just the occasional preview model, it's not a top priority. You can steal them from another supported editor if you're desperate. This is from "Change Completions Model" in the VS Code command palette, for example:

VS Code picker showing "GPT-4o Copilot April Candidate (Preview) (gpt-4o-copilot-2023-05-03)"

@GitMurf
Copy link

GitMurf commented May 9, 2025

As of today, May 3rd, there's a gpt-4o-copilot-2025-04-03 preview model available

@tpope is this still valid? I am getting the following from LSP logs:

[default] User selected model gpt-4o-copilot-2025-04-03 is not in the list of generic models: gpt-4o-copilot, falling back to default model.

@jinzhongjia
Copy link

Currently, it is enough to use the default model. Recently, github switched to gpt4.1

@GitMurf
Copy link

GitMurf commented May 9, 2025

Currently, it is enough to use the default model. Recently, github switched to gpt4.1

No, that is for copilot chat. Not for completions.

@xdannyrobertsx
Copy link

commenting to stay informed!

@yermulnik
Copy link

commenting to stay informed!

It's on the right pane:
Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants