Skip to content

Commit 0772fc2

Browse files
authored
Update dispatcher.lua
1 parent e549268 commit 0772fc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/gp/dispatcher.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ D.prepare_payload = function(messages, model, provider)
190190
output.top_p = nil
191191
end
192192

193-
if model.model == "gpt-5" then
193+
if model.model == "gpt-5" or model.model == "gpt-5-mini" then
194194
-- remove max_tokens, top_p, temperature for gpt-5 models (duh)
195195
output.max_tokens = nil
196196
output.temperature = nil

0 commit comments

Comments
 (0)