积木 AI
返回常见问题
常见问题详情

常见问题24 `thinking` or `redacted_thinking` blocks in the latest assistant message cannot be modified. These blocks must remain as they were in the original

2026/06/04135 次阅读

`thinking` or `redacted_thinking` blocks in the latest assistant message cannot be modified. These blocks must remain ...

常见问题

status_code=400, {"type":"error","error":{"type":"invalid_request_error","message":"***.***.content.0: thinking or redacted_thinking blocks in the latest assistant message cannot be modified. These blocks must remain as they were in the original response."},"request_id":"req_011CZP1tjn3Kwg19GC8zVSzb"}(traceid: 33323160dcf49f1845e602493a5b42bd) (request id: 202603250233254049760029kWmCGTB) (request id: 20260325023325216246005hoJXYaTS)

claude code压缩对话的bug

解决办法:

先将/model设置为 Sonnet,然后/compact进行压缩,再将模型设回 opus

https://github.com/anthropics/claude-code/issues/12311