converse-mcp-server 1.17.0 → 1.17.1
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/providers/openai.js +7 -2
package/package.json
CHANGED
package/src/providers/openai.js
CHANGED
|
@@ -63,6 +63,7 @@ const SUPPORTED_MODELS = {
|
|
|
63
63
|
supportsWebSearch: true,
|
|
64
64
|
supportsResponsesAPI: true,
|
|
65
65
|
supportsDeepResearch: false, // Not a deep research model
|
|
66
|
+
reasoningEffort: 'high', // Only supports 'high' - always enforced
|
|
66
67
|
timeout: 3600000, // 60 minutes - some requests may take several minutes
|
|
67
68
|
description: 'Most advanced reasoning model (400K context, 272K output) - Hardest problems, extended compute time (EXPENSIVE)',
|
|
68
69
|
aliases: ['gpt5-pro', 'gpt-5pro', 'gpt 5 pro', 'gpt-5 pro', 'gpt-5-pro-2025-10-06']
|
|
@@ -404,8 +405,10 @@ export const openaiProvider = {
|
|
|
404
405
|
|
|
405
406
|
// Add reasoning effort for thinking models (o3 series and GPT-5 family)
|
|
406
407
|
if ((resolvedModel.startsWith('o3') || resolvedModel.startsWith('gpt-5')) && reasoning_effort) {
|
|
408
|
+
// GPT-5 Pro only supports 'high' reasoning effort
|
|
409
|
+
const effectiveEffort = resolvedModel === 'gpt-5-pro' ? 'high' : reasoning_effort;
|
|
407
410
|
requestPayload.reasoning = {
|
|
408
|
-
effort:
|
|
411
|
+
effort: effectiveEffort,
|
|
409
412
|
summary: 'auto' // Enable reasoning summaries
|
|
410
413
|
};
|
|
411
414
|
}
|
|
@@ -431,7 +434,9 @@ export const openaiProvider = {
|
|
|
431
434
|
|
|
432
435
|
// Add reasoning effort for thinking models (o3 series and GPT-5 family)
|
|
433
436
|
if ((resolvedModel.startsWith('o3') || resolvedModel.startsWith('gpt-5')) && reasoning_effort) {
|
|
434
|
-
|
|
437
|
+
// GPT-5 Pro only supports 'high' reasoning effort
|
|
438
|
+
const effectiveEffort = resolvedModel === 'gpt-5-pro' ? 'high' : reasoning_effort;
|
|
439
|
+
requestPayload.reasoning_effort = effectiveEffort;
|
|
435
440
|
}
|
|
436
441
|
|
|
437
442
|
// Add verbosity for GPT-5 models
|