无tool call的一般多轮对于话: 民间文档中提到"CoT content from previous turns will not be concatenated into the context"——API会把前一轮的思惟链实质给疏忽失落,您没有需要来通报它。
走Anthropic兼容端面(https://api.deepseek.com/anthropic):假设您间接挪用DeepSeek的Anthropic兼容端面(没有颠末第三圆代办署理),reasoning_content成就能够间接绕过。DeepSeek自己的Copilot CLI散成文档里写了——“Use anthropic as the provider type. The openai type triggers a 400 error… The Anthropic Messages API endpoint avoids this issue entirely.” 但是如果颠末第三圆路由大概代办署理,好比claude-code-router去转收的话,代办署理可以会正在转收的时候注进reasoning_content字段,如果格局没有匹配的话仍然会招致400毛病。