[Bug] Anthropic API Error: 400 Bad Request on Extended Thinking
Resolved 💬 1 comment Opened May 28, 2026 by eligratz Closed Jun 30, 2026
Bug Description
seeing this 400 on redacted thinking
Environment Info
- Platform: darwin
- Terminal: Apple_Terminal
- Version: 2.1.154
- Feedback ID: 77a3121b-d9cc-49fe-a402-a380d9dace3b
Errors
[{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"messages.7.content.12: `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_011CbVW8eD3iu3hrL2yzFPGo\"}\n at generate (/$bunfs/root/src/entrypoints/cli.js:11:63816)\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:51:7694)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-28T19:16:14.631Z"}]This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗