"***.***.enabled" is not supported for this model. Use "***.***.adaptive" and "o...
错误信息
status_code=400, Provider API error: "***.***.enabled" is not supported for this model. Use "***.***.adaptive" and "output_config.effort" to control thinking behavior. (request id: 2026071714265749050324letM9vJD) [up_bad_request; g=0; c=575; r=20260717062657215114413fc9zo3An] (request id: 202607170626571448126368268d9d68eP7wep4) (request id: 202607170626267811513258268d9d6FiQyDSsy) (request id: 202607170620102105303848268d9d6IhrHUQCG)
AI 解决方案
🔍 报错分析
1. 🌐 错误翻译
原文:status_code=400, Provider API error: "***.***.enabled" is not supported for this model. Use "***.***.adaptive" and "output_config.effort" to control thinking behavior.
译文:状态码=400,提供商API错误:该模型不支持"***.***.enabled"。请使用"***.***.adaptive"和"output_config.effort"来控制思考行为。
2. 🎯 原因分析
enabled 参数来控制模型的思考行为,但该参数不被当前模型支持3. 💡 解决方案
将配置参数从
enabled 改为 adaptive,并配合 output_config.effort 来控制思考行为:// 修复前的错误配置
{
"***.***.enabled": true
}
// 修复后的正确配置
{
"***.***.adaptive": true,
"output_config": {
"effort": "high" // 可选值:low, medium, high
}
}
4. 🛡️ 预防措施
请检查您的API请求配置,将不支持的参数替换为模型文档中推荐的标准参数。