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

would like to specify model used by the default ChatGPT command

Open l-bowman opened this issue 11 months ago • 7 comments

Is it not possible to change the model used by the default command, or am I missing something? I have no problem specifying the model for custom actions, but I can't figure out what needs to be changed to change the default ChatGPT model. Thanks!

l-bowman avatar Mar 06 '24 21:03 l-bowman

It is in the config object you pass to the setup

openai_params = { 
     model = "gpt-3.5-turbo", 
}

As explained in the readme the default settings are there https://github.com/jackMort/ChatGPT.nvim/blob/f1453f588eb47e49e57fa34ac1776b795d71e2f1/lua/chatgpt/config.lua#L10-L182

ilan-schemoul avatar Mar 19 '24 17:03 ilan-schemoul

I find that my model choices are not respected. It always defaults to 3. I have confirmed that I have API access to GPT 4.

l-bowman avatar Apr 17 '24 19:04 l-bowman

And, I can write a custom action that uses GPT 4, but the default Chat doesn't seem to respect the model parameter.

l-bowman avatar Apr 17 '24 20:04 l-bowman

Nevermind, I found the issue. Spelling issue! Thank you and apologies.

l-bowman avatar Apr 17 '24 20:04 l-bowman

I have the same issue, and I think there are no spelling mistakes. Do you have any recommendations?

JeancarloBarrios avatar May 02 '24 05:05 JeancarloBarrios