@@ -122,18 +122,24 @@ HANDLER, FILTER and OTHER-PARAMS."
122
122
:token-width 3
123
123
; ; https://platform.openai.com/docs/models/gpt-4o-mini-search-preview
124
124
:context-window 128000 )
125
+ (chatgpt-shell-openai-make-model
126
+ :version " o4-mini"
127
+ :token-width 3
128
+ :context-window 200000
129
+ :reasoning-effort t
130
+ :validate-command #'chatgpt-shell-validate-no-system-prompt )
131
+ (chatgpt-shell-openai-make-model
132
+ :version " o3"
133
+ :token-width 3
134
+ :context-window 200000
135
+ :reasoning-effort t
136
+ :validate-command #'chatgpt-shell-validate-no-system-prompt )
125
137
(chatgpt-shell-openai-make-model
126
138
:version " o3-mini"
127
139
:token-width 3
128
140
:context-window 200000
129
141
:reasoning-effort t
130
- :validate-command
131
- ; ; TODO: Standardize whether or not a model supports system prompts.
132
- (lambda (command model settings )
133
- (or (chatgpt-shell-openai--validate-command command model settings)
134
- (when (map-elt settings :system-prompt )
135
- (format " Model \" %s \" does not support system prompts. Please unset via \" M-x chatgpt-shell-swap-system-prompt\" by selecting None. "
136
- (map-elt model :version ))))))
142
+ :validate-command #'chatgpt-shell-validate-no-system-prompt )
137
143
(chatgpt-shell-openai-make-model
138
144
:version " o1"
139
145
:token-width 3
@@ -154,13 +160,7 @@ HANDLER, FILTER and OTHER-PARAMS."
154
160
; ; https://platform.openai.com/docs/models/gpt-01-mini
155
161
:context-window 128000
156
162
; ; Reasoning effort is only supported for o1 and o3-mini.
157
- :validate-command
158
- ; ; TODO: Standardize whether or not a model supports system prompts.
159
- (lambda (command model settings )
160
- (or (chatgpt-shell-openai--validate-command command model settings)
161
- (when (map-elt settings :system-prompt )
162
- (format " Model \" %s \" does not support system prompts. Please unset via \" M-x chatgpt-shell-swap-system-prompt\" by selecting None. "
163
- (map-elt model :version ))))))
163
+ :validate-command #'chatgpt-shell-validate-no-system-prompt )
164
164
(chatgpt-shell-openai-make-model
165
165
:version " gpt-4.5-preview"
166
166
:token-width 3
0 commit comments