[BUG]: Could not respond to message. The agent model failed to respond: 400 The `reasoning_content` in the thinking mode must be passed back
![[BUG]: Could not respond to message. The agent model failed to respond: 400 The `reasoning_content` in the thinking mode must be passed back](https://www.chat-gpts.plus/wp-content/uploads/2026/09/6394-59adab8e-768x403.jpg)
该报错通常出现在 AnythingLLM 桌面端使用 DeepSeek reasoner(思考模式)配合 Agent 模式执行任务时,尤其是 Agent 发起工具调用后进入下一轮请求时,服务端要求把上一轮 assistant 消息中的 reasoning_content 原样带回 API。优先排查客








