":{"message":"Unsupported thinking type for the current model: disabled Request ...
🚨 错误信息
{"error":{"message":"Unsupported thinking type for the current model: disabled Request id: 021758530776855fdbc20382f1265cc5f07de9ca4b2280cbfb2c2 (request id: 20250922164616828759714n06EjKfU)","type":"openai_error","param":"","code":"InvalidParameter"}}
🤖 AI解决方案
1. 错误翻译
{
"error": {
"message": "Unsupported thinking type for the current model: disabled",
"type": "openai_error",
"param": "",
"code": "InvalidParameter"
}
}
核心关键句翻译: 当前模型不支持的思考类型:已禁用
2. 原因分析
您尝试调用的API模型不支持您指定的 thinking type 参数,或者该参数被禁用。
3. 解决方案
检查您调用的API文档,确认 thinking type 参数是否是该模型支持的,并确保其值正确。如果文档中没有此参数,则删除该参数。
例如,如果您使用的是OpenAI的Chat Completions API,通常不需要 thinking type 参数。请移除此参数后再尝试调用。
4. 预防措施
- 在集成任何API之前,仔细阅读官方文档,了解所有支持的参数及其取值范围。
- 在调用API时,对传入的参数进行校验,确保其符合API的要求。