[BUG] anthropic一直报错 macos macos系统中的vscode软件中的claude code插件,版本 2.1.154 anthropic.claude-code
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
macos系统中的vscode软件中的claude code插件,版本 2.1.154,更新最新版的claude code插件后,无论输入什么,都是持续报错,回复“API Error: 400 Failed to deserialize the JSON body into the target type: messages[3].role: unknown variant system, expected user or assistant at line 1 column 80437”
请尽快修复
What Should Happen?
macos系统中的vscode软件中的claude code插件,版本 2.1.154,更新最新版的claude code插件后,无论输入什么,都是持续报错,回复“API Error: 400 Failed to deserialize the JSON body into the target type: messages[3].role: unknown variant system, expected user or assistant at line 1 column 80437”
请尽快修复
Error Messages/Logs
Steps to Reproduce
macos系统中的vscode软件中的claude code插件,版本 2.1.154,更新最新版的claude code插件后,无论输入什么,都是持续报错,回复“API Error: 400 Failed to deserialize the JSON body into the target type: messages[3].role: unknown variant system, expected user or assistant at line 1 column 80437”
请尽快修复
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
anthropic.claude-code
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗