wingbot 3.77.0-alpha.1 → 3.77.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/ChatGpt.js +3 -1
package/package.json
CHANGED
package/src/ChatGpt.js
CHANGED
|
@@ -450,8 +450,10 @@ class ChatGpt {
|
|
|
450
450
|
...(requestTokens ? {
|
|
451
451
|
max_completion_tokens: requestTokens
|
|
452
452
|
} : {}),
|
|
453
|
+
// Chat Completions takes "reasoning_effort" ("reasoning: { effort }" is the
|
|
454
|
+
// Responses API - here 400 Unknown parameter)
|
|
453
455
|
...(reasoningEffort ? {
|
|
454
|
-
|
|
456
|
+
reasoning_effort: reasoningEffort
|
|
455
457
|
} : {}),
|
|
456
458
|
...(typeof parallelToolCalls === 'boolean' ? {
|
|
457
459
|
parallel_tool_calls: parallelToolCalls
|