ClaudeCode运行报错:
API Error: 400 Failed to deserialize the JSON body into the target type: messages1.role: unknown variant
system, expected user or assistant at line 1 column 2476
解决办法
回退2.1.153 之前的版本,并在.claude\settings.json 设置
{
"theme": "dark",
"skipDangerousModePermissionPrompt": true,
"env": {
"DISABLE_UPDATES": "1"
}
}