400 {"error":{"type":"invalid_request_error","message":"The `content[].thinking`...
错误信息
API Error: 400 {"error":{"type":"invalid_request_error","message":"The `content[].thinking` in the
thinking mode must be passed back to the API. (request id:
2026042917241861556309Fmq0U2u5)"},"type":"error"}
AI 解决方案
报错分析报告
1.错误翻译
原文:The `content[].thinking` in the thinking mode must be passed back to the API.
译文:在思考模式下,`content[].thinking`字段必须回传给API。
2. 原因分析
content[].thinking必填字段。 3. 解决方案
// 修复后的API请求Payload示例(补充thinking字段)
{
"content": [
{
"type": "thinking",
"thinking": "此处填写你的思考过程内容" // 关键:添加缺失的thinking字段
},
// 其他content项(如文本/图像等)
],
// 其他API参数...
}
4. 预防措施
---
请补充更多上下文(如请求代码片段)可进一步精准定位问题。