[Bug] Thinking blocks error on Claude Agent SDK 0.1.75

Resolved 💬 3 comments Opened Dec 23, 2025 by dexhorthy Closed Dec 26, 2025

Bug Description
thinking blocks error still occuring on claude agent sdk 0.1.75

Environment Info

  • Platform: darwin
  • Terminal: tmux
  • Version: 2.0.75
  • Feedback ID: d2494c0c-1ef1-4be6-b28b-ff166b8a97bf

Errors

API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"messages.1.content.62: `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_011CWNidutT5phYDcrw1XmRK"}
[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/dex/.local/share/claude/versions/2.0.75 (expected in multi-process scenarios)\n    at XZR (/$bunfs/root/claude:2430:2165)\n    at bUA (/$bunfs/root/claude:2430:1885)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-23T01:03:58.795Z"},{"error":"SyntaxError: JSON Parse error: Property name must be a string literal\n    at <parse> (:0)\n    at parse (unknown)\n    at <anonymous> (/$bunfs/root/claude:78:751)\n    at A (/$bunfs/root/claude:11:6978)\n    at j31 (/$bunfs/root/claude:2563:26855)\n    at async uPB (/$bunfs/root/claude:2563:29641)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-23T01:04:04.090Z"}]

View original on GitHub ↗

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