Skip to content

Commit 77c289f

Browse files
committed
Add support for gpt-5
1 parent 2fe8d9c commit 77c289f

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
@@ -297,7 +297,7 @@ Mutate state INFO with response metadata."
297297
:messages [,@prompts]
298298
:stream ,(or gptel-stream :json-false)))
299299
(reasoning-model-p ; TODO: Embed this capability in the model's properties
300-
(memq gptel-model '(o1 o1-preview o1-mini o3-mini o3 o4-mini))))
300+
(memq gptel-model '(o1 o1-preview o1-mini o3-mini o3 o4-mini gpt-5 gpt-5-mini gpt-5-nano))))
301301
(when (and gptel-temperature (not reasoning-model-p))
302302
(plist-put prompts-plist :temperature gptel-temperature))
303303
(when gptel-use-tools

0 commit comments

Comments
 (0)