IDEA中claude code+Deepseek报错的解决方式
2026/5/30 2:21:32 网站建设 项目流程

报错信息:

API Error: 400 Failed to deserialize the JSON body into the target
type: messages[1].role: unknown variantsystem, expecteduseror
assistantat line 1 column 560

产生原因:
claude code插件版本过高,降至153版本
解决办法:
降低claude code插件版本,执行下面命令

npm i -g @anthropic-ai/claude-code@2.1.150

需要专业的网站建设服务?

联系我们获取免费的网站建设咨询和方案报价,让我们帮助您实现业务目标

立即咨询