converse-mcp-server 1.17.0 → 1.17.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "converse-mcp-server",
3
- "version": "1.17.0",
3
+ "version": "1.17.2",
4
4
  "description": "Converse MCP Server - Converse with other LLMs with chat and consensus tools",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
@@ -404,8 +404,10 @@ export const openaiProvider = {
404
404
 
405
405
  // Add reasoning effort for thinking models (o3 series and GPT-5 family)
406
406
  if ((resolvedModel.startsWith('o3') || resolvedModel.startsWith('gpt-5')) && reasoning_effort) {
407
+ // GPT-5 Pro only supports 'high' reasoning effort
408
+ const effectiveEffort = resolvedModel === 'gpt-5-pro' ? 'high' : reasoning_effort;
407
409
  requestPayload.reasoning = {
408
- effort: reasoning_effort,
410
+ effort: effectiveEffort,
409
411
  summary: 'auto' // Enable reasoning summaries
410
412
  };
411
413
  }
@@ -431,7 +433,9 @@ export const openaiProvider = {
431
433
 
432
434
  // Add reasoning effort for thinking models (o3 series and GPT-5 family)
433
435
  if ((resolvedModel.startsWith('o3') || resolvedModel.startsWith('gpt-5')) && reasoning_effort) {
434
- requestPayload.reasoning_effort = reasoning_effort;
436
+ // GPT-5 Pro only supports 'high' reasoning effort
437
+ const effectiveEffort = resolvedModel === 'gpt-5-pro' ? 'high' : reasoning_effort;
438
+ requestPayload.reasoning_effort = effectiveEffort;
435
439
  }
436
440
 
437
441
  // Add verbosity for GPT-5 models