karthink / gptel

A simple LLM client for Emacs
GNU General Public License v3.0
1.04k stars 113 forks source link

Default model not respected #215

Closed md-zengo closed 4 months ago

md-zengo commented 4 months ago

Hi, I added (setq-default gptel-model "gpt-4-0125-preview") to my configuration, but default still reverts to GPT 3.5 - what am I doing wrong?

karthink commented 4 months ago

The models supported with the default OpenAI backend are:

("gpt-3.5-turbo" "gpt-3.5-turbo-16k" "gpt-4" "gpt-4-turbo-preview" "gpt-4-32k" "gpt-4-1106-preview")

You have two options (see #197 for details):

  1. gpt-4-turbo-preview is the same as gpt-4-0125-preview, so you can use that instead.
  2. Add gpt-4-0125-preview to the list of valid models.
karthink commented 4 months ago

Update: I added gpt-4-0125-preview explicitly to the list of available models, so you don't have to use gpt-4-turbo-preview instead.