[Bug] Anthropic API Error: Cannot modify thinking blocks in assistant message

Resolved 💬 3 comments Opened May 30, 2026 by D-32 Closed Jul 3, 2026

Bug Description
API Error: 400 messages.1.content.41: thinking or redacted_thinking blocks in the latest assistant message cannot be modified. These blocks must remain as they were in
the original response.

Environment Info

  • Platform: darwin
  • Terminal: ghostty
  • Version: 2.1.156
  • Feedback ID: 23d2d99d-1cbf-4394-9953-b0c80d4a127a

Errors

[]

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗