From f0e4889c36e09e12c944272bb80d5748bcaba36a Mon Sep 17 00:00:00 2001 From: Karthik Chikmagalur Date: Tue, 30 Jan 2024 20:45:37 -0800 Subject: [PATCH] gptel: Update OpenAI model list * gptel.el (gptel--openai, gptel-model): Update available OpenAI models, fix #197. --- gptel.el | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/gptel.el b/gptel.el index a6db3e3..fc037cd 100644 --- a/gptel.el +++ b/gptel.el @@ -404,7 +404,9 @@ To set the model for a chat session interactively call (const :tag "GPT 3.5 turbo" "gpt-3.5-turbo") (const :tag "GPT 3.5 turbo 16k" "gpt-3.5-turbo-16k") (const :tag "GPT 4" "gpt-4") - (const :tag "GPT 4 turbo (preview)" "gpt-4-1106-preview"))) + (const :tag "GPT 4 turbo (preview)" "gpt-4-turbo-preview") + (const :tag "GPT 4 32k" "gpt-4-32k") + (const :tag "GPT 4 1106 (preview)" "gpt-4-1106-preview"))) (defcustom gptel-temperature 1.0 "\"Temperature\" of ChatGPT response. @@ -433,8 +435,8 @@ with differing settings.") "ChatGPT" :key 'gptel-api-key :stream t - :models '("gpt-3.5-turbo" "gpt-3.5-turbo-16k" - "gpt-4" "gpt-4-1106-preview"))) + :models '("gpt-3.5-turbo" "gpt-3.5-turbo-16k" "gpt-4" + "gpt-4-turbo-preview" "gpt-4-32k" "gpt-4-1106-preview"))) (defcustom gptel-backend gptel--openai "LLM backend to use.