File tree 1 file changed +2
-14
lines changed
1 file changed +2
-14
lines changed Original file line number Diff line number Diff line change @@ -139,13 +139,7 @@ HANDLER, FILTER and OTHER-PARAMS."
139
139
:token-width 3
140
140
:context-window 200000
141
141
:reasoning-effort t
142
- :validate-command
143
- ; ; TODO: Standardize whether or not a model supports system prompts.
144
- (lambda (command model settings )
145
- (or (chatgpt-shell-openai--validate-command command model settings)
146
- (when (map-elt settings :system-prompt )
147
- (format " Model \" %s \" does not support system prompts. Please unset via \" M-x chatgpt-shell-swap-system-prompt\" by selecting None. "
148
- (map-elt model :version ))))))
142
+ :validate-command #'chatgpt-shell-validate-no-system-prompt )
149
143
(chatgpt-shell-openai-make-model
150
144
:version " o1"
151
145
:token-width 3
@@ -166,13 +160,7 @@ HANDLER, FILTER and OTHER-PARAMS."
166
160
; ; https://platform.openai.com/docs/models/gpt-01-mini
167
161
:context-window 128000
168
162
; ; Reasoning effort is only supported for o1 and o3-mini.
169
- :validate-command
170
- ; ; TODO: Standardize whether or not a model supports system prompts.
171
- (lambda (command model settings )
172
- (or (chatgpt-shell-openai--validate-command command model settings)
173
- (when (map-elt settings :system-prompt )
174
- (format " Model \" %s \" does not support system prompts. Please unset via \" M-x chatgpt-shell-swap-system-prompt\" by selecting None. "
175
- (map-elt model :version ))))))
163
+ :validate-command #'chatgpt-shell-validate-no-system-prompt )
176
164
(chatgpt-shell-openai-make-model
177
165
:version " gpt-4.5-preview"
178
166
:token-width 3
You can’t perform that action at this time.
0 commit comments