10:53 · Apr 24, 2026 · Fri 关于 DeepSeek V4 系列在 OpenCode 中报错400的解决方案🌐 链接: https://linux.do/t/topic/2047991🔍 关键词: #api🏷️ 分组: LinuxDo论坛🕒 时间: 2026-04-24 18:52:24 LINUX DO 关于 DeepSeek V4 系列在 OpenCode 中报错400的解决方案 今天喜迎 DeepSeek-V4 系列发布,但是在接入 OpenCode 工作流的时候遇到了一些问题,提示 400,如: The `content[].thinking` in the thinking mode must be passed back to the API. messages.X.content.0.type: Expected 'thinking' or 'redacted_thinking', but found 'tool_use' 与群友讨论交流了后,开发了一个插件来解决这个问题。…