惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

S
SegmentFault 最新的问题
Spread Privacy
Spread Privacy
Google DeepMind News
Google DeepMind News
WordPress大学
WordPress大学
Blog — PlanetScale
Blog — PlanetScale
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Apple Machine Learning Research
Apple Machine Learning Research
SecWiki News
SecWiki News
腾讯CDC
P
Privacy International News Feed
Webroot Blog
Webroot Blog
J
Java Code Geeks
爱范儿
爱范儿
A
About on SuperTechFans
S
Secure Thoughts
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
D
DataBreaches.Net
Cloudbric
Cloudbric
Security Archives - TechRepublic
Security Archives - TechRepublic
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
C
Cyber Attacks, Cyber Crime and Cyber Security
P
Proofpoint News Feed
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Security Latest
Security Latest
Forbes - Security
Forbes - Security
小众软件
小众软件
www.infosecurity-magazine.com
www.infosecurity-magazine.com
C
Cybersecurity and Infrastructure Security Agency CISA
T
Threatpost
量子位
MongoDB | Blog
MongoDB | Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
月光博客
月光博客
W
WeLiveSecurity
P
Privacy & Cybersecurity Law Blog
Vercel News
Vercel News
Google Online Security Blog
Google Online Security Blog
云风的 BLOG
云风的 BLOG
GbyAI
GbyAI
S
Security @ Cisco Blogs
T
The Exploit Database - CXSecurity.com
Help Net Security
Help Net Security
V
Visual Studio Blog
C
CXSECURITY Database RSS Feed - CXSecurity.com
Application and Cybersecurity Blog
Application and Cybersecurity Blog
博客园 - 聂微东
P
Proofpoint News Feed
C
CERT Recently Published Vulnerability Notes
Attack and Defense Labs
Attack and Defense Labs

Abyss的小屋

在Windows下的Claude Code中使用Computer Use - Abyss的小屋 微软Azure虚拟机如何允许Ping以及设置root用户 - Abyss的小屋 如何在Chrome中开启Gemini功能 【玛蒂尔达】小小的孩子也有大大的力量 The Phantom of the Opera is here 【一粒沙】如果想要星星,我就自己去摘 【人要如何摆脱自己的阴影?】德扎 【I’m happy again】雨中曲 致我们——这群最纯粹的热爱音乐的人 【为一部戏奔赴一座城】悲惨世界 解决在VS Code中写C++可能遇到的中文乱码问题
【已修复】解决新版Claude Code与第三方模型的不兼容问题
Abyss · 2026-05-29 · via Abyss的小屋

起因

今天Anthropic发布了Opus 4.8模型,这跟我个穷苦大学生是没啥关系的了,我用不了,就不怎么关心。

但问题在于Claude Code也同步更新了

Claude Code 本次更新引入了针对 Claude Opus 4.8 的“自适应思考”等实验性特性,改变了消息传递的格式要求。导致尚未完全适配新协议的第三方 Mimo 接口在处理 system 角色时验证失败。

这会导致在使用某些第三方模型,比如mimo和DeepSeek,会出现以下报错:

API Error: 400 messages[1].role must be either 'user' or 'assistant', but got 'system'

完全用不了,无论是154版还是156版,都还没有修复

如何解决

有许多人分享的办法是:

settings.json中,添加:

CLAUDE_CODE_SIMPLE  = 1

但是不建议这么做,这行设置的意思是开启Claude Code的极简模式,会导致很多东西都用不了:

20260529191709864-1000042450

属于是得不偿失

目前来说最好的解决办法就是回退到最后一个能用的版本:2.1.153。

回退版本不需要卸载重装,只需要一行命令

claude install 2.1.153

对于使用第三方模型的我们来说,新版本没有什么特别的功能,老老实实先用旧版得了

执行完成之后,再检查一遍当前版本:

claude --version

此外,为了避免claude code自动更新,需要在settings.json加一条设置:

"DISABLE_AUTOUPDATER": "1"

这样就不会自动更新了,先用着2.1.153,等模型Api那边修好了这个问题再说