From 7dfc8b575bbf6b2fee0f5f50d17587adeb1fef6b Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Sat, 2 Mar 2024 11:41:52 +0000 Subject: [PATCH] feat(ai/chatgpt): add more models and use gpt-4-turbo-preview as default --- modules/ai/siren-chatgpt.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/modules/ai/siren-chatgpt.el b/modules/ai/siren-chatgpt.el index 328cea82..59b4fd02 100644 --- a/modules/ai/siren-chatgpt.el +++ b/modules/ai/siren-chatgpt.el @@ -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))