400 Unable to submit request because Thinking_config.include_thoughts is only en...

2025年09月10日 16:04 响应: 1.97秒 状态: success

🚨 错误信息

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 启用时生效。