Skip to content

Support Using Copilot Claude 3.5 #332

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

Closed
iamthebot opened this issue Oct 31, 2024 · 9 comments
Closed

Support Using Copilot Claude 3.5 #332

iamthebot opened this issue Oct 31, 2024 · 9 comments

Comments

@iamthebot
Copy link

With the current implementation of this plugin, is it possible to configure use of the newly added Claude 3.5 model?

See the copilot documentation here

@pidgeon777
Copy link

Copilot Chat and Autocomplete (featured in copilot.lua) are two different things. As far as I know:

  • Autocomplete is using a new version of OpenAI Codex (can't be switched to something else).
  • Chat can use multiple models (ChatGPT, Anthropic, Gemini...).

@marc-ste
Copy link

According to the GitHub documentation, both Jetbrains IDEs and VS Code support changing the completion model.

@0xForerunner
Copy link

+1, Would love claude 3.7

@lelouvincx
Copy link

+1, vote for Claude Sonnet 3.7

@AntoineGS
Copy link
Collaborator

I use JetBrains products on a regular basis and have been keeping up with Copilot changes and @pidgeon777 is correct, copilot.lua is only for autocomplete and not chat.
Autocomplete only supports gpt-35-turbo and gtp-4o-copilot, as do VSCode and Jetbrains.

Here is a screenshot of the autocomplete configuration (which copilot.lua does):
Image

And here is the chat configuration:
Image

Also explained here:
Image

Sorry!

@lelouvincx
Copy link

@AntoineGS thanks for your information.

Can we config the option to choose between gpt-3.5-turbo and gpt-4o-copilot? Because I don't see any config like that in this plugin.

@AntoineGS
Copy link
Collaborator

AntoineGS commented Mar 13, 2025

I created a PR to add support for it (#373). If you want to use it before it is merged you can change your configuration to something like this:

return {
  -- "zbirenbaum/copilot.lua",
  "AntoineGS/copilot.lua",
  branch = "gpt4o",
  cmd = "Copilot",
  event = "InsertEnter",
  config = function()
    require("copilot").setup {
      copilot_model = "gpt-4o-copilot",
    }
  end,
}

The notable changes being the url, branch and copilot_model parameter. Please note that you will need to change it back once merged as the branch will be deleted.

@AntoineGS
Copy link
Collaborator

Closing, the changes have been merged to this repo so I would recommend switching back to the original path!

@lelouvincx
Copy link

@AntoineGS appreciate that! Just see the official announcement from GitHub https://github.blog/changelog/2025-03-06-gpt-4o-copilot-march-flight-is-ready-for-takeoff/

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