feat(ai/chatgpt): add more models and use gpt-4-turbo-preview as default

This commit is contained in:
2024-03-02 11:41:52 +00:00
parent ac621b3103
commit 7dfc8b575b

View File

@@ -54,11 +54,13 @@ Other packages should use `siren-chatgpt-register-model-var'
their model settings are kept in sync with `siren-chatgpt-model'.")
(defvar siren-chatgpt-models '("gpt-3.5-turbo"
"gpt-3.5-turbo-16k"
"gpt-4"
"gpt-4-32k")
"gpt-4-32k"
"gpt-4-turbo-preview")
"List of supported models.")
(defcustom siren-chatgpt-model "gpt-4"
(defcustom siren-chatgpt-model "gpt-4-turbo-preview"
"The model to use for chatgpt."
:type '(choice (mapcar (lambda (model) (list 'const model))
siren-chatgpt-models))