Skip to content

Commit dd500de

Browse files
committed
Add support for gpt-5
1 parent 002c7cf commit dd500de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gptel-openai.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ Mutate state INFO with response metadata."
294294
:messages [,@prompts]
295295
:stream ,(or gptel-stream :json-false)))
296296
(reasoning-model-p ; TODO: Embed this capability in the model's properties
297-
(memq gptel-model '(o1 o1-preview o1-mini o3-mini o3 o4-mini))))
297+
(memq gptel-model '(o1 o1-preview o1-mini o3-mini o3 o4-mini gpt-5 gpt-5-mini gpt-5-nano))))
298298
(when (and gptel-temperature (not reasoning-model-p))
299299
(plist-put prompts-plist :temperature gptel-temperature))
300300
(when gptel-use-tools

0 commit comments

Comments
 (0)