sourcegraph / sg.nvim

Experimental Sourcegraph + Cody plugin for Neovim

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support Claude 3 (Cody)

jmpaz opened this issue · comments

are there plans to support Claude 3 Opus for Cody chat & commands in the near future? just recently subscribed for it / had assumed parity with the recent vscode release.

I think Claude 3 is only available for paying Cody users (Pro & Enterprise)

@jmpaz
New models support is being added with https://github.com/sourcegraph/sg.nvim/tree/update-cody-agent-03-12 branch.
@tjdevries is still working on it but I tested on my machine and it works fine so you can checkout to this branch.

If you are using lazy package manager, then you can switch branch something like this,

{
	"sourcegraph/sg.nvim",
	branch = "update-cody-agent-03-12",
	build = "nvim -l build/init.lua",
....
}

2024-03-22-175738_1790x502_scrot

That was already merged and is ready to use, however only for Pro/Enterprise users.
#213

I am curious if Claude 3 is only being used for the Chat or also for the code completion?
Because AFAIK there is no completion API available for the Claude 3 models

I can confirm that Claude 3 is working for chat.
image

The models should all be available now (as of a few days ago) and you can set your default chat model with something like this:

      require("sg").setup {
        accept_tos = true,
        chat = {
          default_model = "opeanai/gpt-4o",
        },
      }