调用时报以下错误:Message: The `reasoning_content` in the thinking mode must be passed back to the API原因分析:
DeepSeek V4 默认开启思考模式(thinking mode),API 返回中会包含 reasoning_content 字段。根据 DeepSeek 官方文档(https://api-docs.deepseek.com/
遇到的 The reasoning_content in the thinking mode must be passed back to the API.报错,是 DeepSeek V4 系列模型的一个特定要求导致的,在 QClaw 这类客户端中尤其常见。(思考内容)字段原样传回给 API。这个错误的根本原因在于,当客户端(QClaw)向 DeepSeek 发起请求时,多轮对话的记录是由客户端维护的。还有一个特别容易踩的坑:即使 reasoning_content 的内容是空字符串 "",也不能丢弃,