400 Unable to submit request because Thinking_config.include_thoughts is only en...
🚨 错误信息
400 Unable to submit request because Thinking_config.include_thoughts is only enabled when thinking is enabled.. Learn more: https://***.com/***/***/***/***/*** (request id: 20250910160411686321618H822Jzro) (request id: 20250910160411686511859bPa204Yy) (request id: 20250910160407621399386TQ7JwPO1) (request id: 20250910160407507271850mu4EkLON)
🤖 AI解决方案
400 无法提交请求,因为只有在启用思考(thinking)的情况下,Thinking_config.include_thoughts 才能被启用。
原因分析:Thinking_config.include_thoughts 配置项依赖于 thinking 功能的启用。当前请求中,thinking 功能未被启用,但 Thinking_config.include_thoughts 被设置为 true,导致冲突。
解决方案:
在发起请求时,确保以下两点之一:
- 启用
thinking功能:将请求中的thinking参数设置为true。 - 禁用
Thinking_config.include_thoughts:将请求中的Thinking_config.include_thoughts参数设置为false。 - 在配置
Thinking_config.include_thoughts之前,检查thinking的状态。 - 使用条件逻辑确保
Thinking_config.include_thoughts的设置仅在thinking启用时生效。
预防措施: