Add gpt-4 model

This commit is contained in:
Schroedi 2023-03-23 17:17:00 +01:00 committed by karthink
parent 42d53b25e5
commit 23caab41cf

View file

@ -148,11 +148,11 @@ will get progressively longer!"
:class 'transient-lisp-variable :class 'transient-lisp-variable
:variable 'gptel--model :variable 'gptel--model
:key "m" :key "m"
:choices '("gpt-3.5-turbo-0301" "gpt-3.5-turbo") :choices '("gpt-3.5-turbo-0301" "gpt-3.5-turbo" "gpt-4")
:reader (lambda (prompt &rest _) :reader (lambda (prompt &rest _)
(completing-read (completing-read
prompt prompt
'("gpt-3.5-turbo-0301" "gpt-3.5-turbo")))) '("gpt-3.5-turbo-0301" "gpt-3.5-turbo" "gpt-4"))))
(transient-define-infix gptel--infix-temperature () (transient-define-infix gptel--infix-temperature ()
"Temperature of request." "Temperature of request."