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

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

[nongnu] elpa/gptel 14558549a2: gptel-openai: GPT-4o (#313)


From: ELPA Syncer
Subject: [nongnu] elpa/gptel 14558549a2: gptel-openai: GPT-4o (#313)
Date: Wed, 15 May 2024 01:00:55 -0400 (EDT)

branch: elpa/gptel
commit 14558549a2ecf94dd106e27601dbf8ee97425c79
Author: Lucian <72520178+axelknock@users.noreply.github.com>
Commit: GitHub <noreply@github.com>

    gptel-openai: GPT-4o (#313)
    
    * gptel.el (gptel-model, gptel--openai): Add new model GPT-4o.
---
 gptel.el | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/gptel.el b/gptel.el
index 4a4c15764f..3df9a6c506 100644
--- a/gptel.el
+++ b/gptel.el
@@ -401,6 +401,7 @@ The current options for ChatGPT are
 - \"gpt-3.5-turbo\"
 - \"gpt-3.5-turbo-16k\"
 - \"gpt-4\"
+- \"gpt-4o\"
 - \"gpt-4-turbo\"
 - \"gpt-4-turbo-preview\"
 - \"gpt-4-32k\"
@@ -414,6 +415,7 @@ 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 omni" "gpt-4o")
           (const :tag "GPT 4 turbo" "gpt-4-turbo")
           (const :tag "GPT 4 turbo (preview)" "gpt-4-turbo-preview")
           (const :tag "GPT 4 32k" "gpt-4-32k")
@@ -444,9 +446,9 @@ with differing settings.")
    "ChatGPT"
    :key 'gptel-api-key
    :stream t
-   :models '("gpt-3.5-turbo" "gpt-3.5-turbo-16k" "gpt-4" "gpt-4-turbo"
-             "gpt-4-turbo-preview" "gpt-4-32k" "gpt-4-1106-preview"
-             "gpt-4-0125-preview")))
+   :models '("gpt-3.5-turbo" "gpt-3.5-turbo-16k" "gpt-4" "gpt-4o"
+             "gpt-4-turbo" "gpt-4-turbo-preview" "gpt-4-32k"
+             "gpt-4-1106-preview" "gpt-4-0125-preview")))
 
 (defcustom gptel-backend gptel--openai
   "LLM backend to use.



reply via email to

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