gptel: Add gpt-4-0125-preview to model list (Fix #215)
* gptel.el (gptel--openai): Add "gpt-4-0125-preview" to the list of ChatGPT models. Also address byte-compiler warnings.
This commit is contained in:
parent
ef8b9093d2
commit
5465271541
1 changed files with 4 additions and 1 deletions
5
gptel.el
5
gptel.el
|
@ -116,6 +116,8 @@
|
||||||
(declare-function org-open-line "org")
|
(declare-function org-open-line "org")
|
||||||
(declare-function org-at-heading-p "org")
|
(declare-function org-at-heading-p "org")
|
||||||
(declare-function org-get-heading "org")
|
(declare-function org-get-heading "org")
|
||||||
|
(declare-function ediff-make-cloned-buffer "ediff-util")
|
||||||
|
(declare-function ediff-regions-internal "ediff")
|
||||||
|
|
||||||
(eval-when-compile
|
(eval-when-compile
|
||||||
(require 'subr-x)
|
(require 'subr-x)
|
||||||
|
@ -414,7 +416,8 @@ with differing settings.")
|
||||||
:key 'gptel-api-key
|
:key 'gptel-api-key
|
||||||
:stream t
|
:stream t
|
||||||
:models '("gpt-3.5-turbo" "gpt-3.5-turbo-16k" "gpt-4"
|
:models '("gpt-3.5-turbo" "gpt-3.5-turbo-16k" "gpt-4"
|
||||||
"gpt-4-turbo-preview" "gpt-4-32k" "gpt-4-1106-preview")))
|
"gpt-4-turbo-preview" "gpt-4-32k" "gpt-4-1106-preview"
|
||||||
|
"gpt-4-0125-preview")))
|
||||||
|
|
||||||
(defcustom gptel-backend gptel--openai
|
(defcustom gptel-backend gptel--openai
|
||||||
"LLM backend to use.
|
"LLM backend to use.
|
||||||
|
|
Loading…
Add table
Reference in a new issue