Skip to content

Commit d41a9c4

Browse files
authored
Merge pull request #84 from appatalks/appatalks-o3-patch-1
Update gpt-core.js - o3-mini rm temp Solves #83
2 parents 37a23e1 + 0010748 commit d41a9c4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/js/gpt-core.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,7 @@ function trboSend() {
267267
// If using the o3-mini model, add the reasoning_effort parameter (low, medium, high)
268268
if (sModel === "o3-mini") {
269269
data.reasoning_effort = "high";
270+
delete data.temperature; // Exclude temperature for o3-mini
270271
}
271272
// Send Payload
272273
oHttp.send(JSON.stringify(data));

0 commit comments

Comments
 (0)