sg.nvim icon indicating copy to clipboard operation
sg.nvim copied to clipboard

Switching LLM to ChatGPT 4 Turbo Preview for Cody Pro users

Open XenoCode54 opened this issue 1 year ago • 5 comments

I recently just subscribed to Cody Pro, and I've been looking for how to switch to using gpt 4 rather than the default llm available.

How do I switch llm to use Chatgpt 4 turbo preview?

Any information would be appreciated, thank you!

XenoCode54 avatar Mar 04 '24 12:03 XenoCode54

I think you should be able to do this with the most recent update now.

If you use CodyChat you should see a new window, and when you press M in normal mode, it should give you an option to select a different provider. I'm working on figuring out the best way to set default providers

tjdevries avatar Mar 12 '24 15:03 tjdevries

@tjdevries I can not set the model, it still showing anthropic 2.0 as the model. Can you help me with that? I press M and select the model, but there is nothing change after that.

image

sandangel avatar Mar 15 '24 08:03 sandangel

image

sandangel avatar Mar 15 '24 08:03 sandangel

hi @tjdevries , can you help me take a look? I just paid sg a month usage to try out, but find out I could not try the new Claude 3 model

sandangel avatar Mar 20 '24 00:03 sandangel

Does selecting the Claude3 model also sets the autocompletion? Screenshot 2024-03-20 at 1 59 40 PM

fadhlirahim avatar Mar 22 '24 02:03 fadhlirahim

Sorry, I was away for awhile but have updated sg.nvim and it should have the latest models. You should be able to also set the default model with:

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

Let me know if that's not working!

tjdevries avatar May 25 '24 19:05 tjdevries