Skip to content

Commit ae04ea2

Browse files
authored
Merge pull request #310 from djr7C4/gpt-4.5-preview
2 parents ad5e510 + 127938b commit ae04ea2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

chatgpt-shell-openai.el

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,11 @@ HANDLER, FILTER and OTHER-PARAMS."
104104
(when (map-elt settings :system-prompt)
105105
(format "Model \"%s\" does not support system prompts. Please unset via \"M-x chatgpt-shell-swap-system-prompt\" by selecting None."
106106
(map-elt model :version))))))
107+
(chatgpt-shell-openai-make-model
108+
:version "gpt-4.5-preview"
109+
:token-width 3
110+
;; https://platform.openai.com/docs/models#gpt-4-5
111+
:context-window 128000)
107112
(chatgpt-shell-openai-make-model
108113
:version "gpt-4o"
109114
:token-width 3

0 commit comments

Comments
 (0)