Skip to content

Commit

Permalink
feat(ai/chatgpt): add more models and use gpt-4-turbo-preview as default
Browse files Browse the repository at this point in the history
  • Loading branch information
jimeh committed Mar 2, 2024
1 parent ac621b3 commit 7dfc8b5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions modules/ai/siren-chatgpt.el
Expand Up @@ -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))
Expand Down

0 comments on commit 7dfc8b5

Please sign in to comment.