xp (@pd9527x) 在 CC更新DS FIX: Claude Code v2.1.154 + Deepseek API Error: 400 Failed 中发帖
Claude Code 版本:v2.1.154
模型: Deepseek
问题:
API Error: 400 Failed to deserialize the JSON body into the target type: messages[1].role: unknown variant `system`, expected `user` or `assistant` at line 1 column 2194
修复建议:版本回退
关闭Claude Code终端
回退
npm i -g @anthropic-ai/claude-code@2.1.153