emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/gptel 3d98ce8eee 099/273: gptel: Add new turbo 0613 models


From: ELPA Syncer
Subject: [nongnu] elpa/gptel 3d98ce8eee 099/273: gptel: Add new turbo 0613 models (#77)
Date: Wed, 1 May 2024 10:01:55 -0400 (EDT)

branch: elpa/gptel
commit 3d98ce8eeecd193a61efc1674ba33d1c94ef56f2
Author: Filipe Guerreiro <filipe.m.guerreiro@gmail.com>
Commit: GitHub <noreply@github.com>

    gptel: Add new turbo 0613 models (#77)
    
    gptel.el (gptel-model): Update choices for the OpenAI model.  Add the 16k 
and 32k token versions of the gpt-3.5 and gpt-4 model respectively.
---
 gptel-transient.el | 4 ++--
 gptel.el           | 8 +++++---
 2 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/gptel-transient.el b/gptel-transient.el
index c89551362d..e7f06331ca 100644
--- a/gptel-transient.el
+++ b/gptel-transient.el
@@ -210,11 +210,11 @@ will get progressively longer!"
   :class 'transient-lisp-variable
   :variable 'gptel-model
   :key "m"
-  :choices '("gpt-3.5-turbo-0301" "gpt-3.5-turbo" "gpt-4")
+  :choices '("gpt-3.5-turbo" "gpt-3.5-turbo-16k" "gpt-4" "gpt-4-32k")
   :reader (lambda (prompt &rest _)
             (completing-read
              prompt
-             '("gpt-3.5-turbo-0301" "gpt-3.5-turbo" "gpt-4"))))
+             '("gpt-3.5-turbo" "gpt-3.5-turbo-16k" "gpt-4" "gpt-4-32k"))))
 
 (transient-define-infix gptel--infix-temperature ()
   "Temperature of request."
diff --git a/gptel.el b/gptel.el
index 3a4b74eeab..0406f395af 100644
--- a/gptel.el
+++ b/gptel.el
@@ -197,8 +197,9 @@ will get progressively longer!"
 
 The current options are
 - \"gpt-3.5-turbo\"
-- \"gpt-3.5-turbo-0301\"
+- \"gpt-3.5-turbo-16k\"
 - \"gpt-4\" (experimental)
+- \"gpt-4-32k\" (experimental)
 
 To set the model for a chat session interactively call
 `gptel-send' with a prefix argument."
@@ -206,8 +207,9 @@ To set the model for a chat session interactively call
   :group 'gptel
   :type '(choice
           (const :tag "GPT 3.5 turbo" "gpt-3.5-turbo")
-          (const :tag "GPT 3.5 turbo 0301" "gpt-3.5-turbo-0301")
-          (const :tag "GPT 4 (experimental)" "gpt-4")))
+          (const :tag "GPT 3.5 turbo 16k" "gpt-3.5-turbo-16k")
+          (const :tag "GPT 4 (experimental)" "gpt-4")
+          (const :tag "GPT 4 32k (experimental)" "gpt-4-32k")))
 
 (defcustom gptel-temperature 1.0
   "\"Temperature\" of ChatGPT response.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]