[Bug] Anthropic API Error: Cannot modify thinking blocks in assistant message
Resolved 💬 3 comments Opened Jan 26, 2026 by regnarock Closed Jan 30, 2026
Bug Description
Faced "thinking or redacted_thinking blocks in the latest assistant message cannot be modified. These blocks must remain as they were in the original response." while crafting git commit + PR
Environment Info
- Platform: darwin
- Terminal: ghostty
- Version: 2.1.19
- Feedback ID: 3b388366-d337-48ae-9f4f-73069c8773e2
Errors
[{"error":"Error: ENOENT: no such file or directory, scandir '/Library/Application Support/ClaudeCode/.claude/skills'\n at readdirSync (unknown)\n at <anonymous> (/$bunfs/root/claude:12:1903)\n at mW (/$bunfs/root/claude:11:35435)\n at readdirSync (/$bunfs/root/claude:12:1864)\n at ILR (/$bunfs/root/claude:2215:380)\n at ILR (/$bunfs/root/claude:2215:1350)\n at <anonymous> (/$bunfs/root/claude:2215:4440)\n at <anonymous> (/$bunfs/root/claude:2215:5171)\n at A (/$bunfs/root/claude:11:7259)\n at FZ8 (/$bunfs/root/claude:4862:4342)","timestamp":"2026-01-26T15:44:18.505Z"},{"error":"Error: ENOENT: no such file or directory, scandir '/Library/Application Support/ClaudeCode/.claude/skills'\n at readdirSync (unknown)\n at <anonymous> (/$bunfs/root/claude:12:1903)\n at mW (/$bunfs/root/claude:11:35435)\n at readdirSync (/$bunfs/root/claude:12:1864)\n at ILR (/$bunfs/root/claude:2215:380)\n at ILR (/$bunfs/root/claude:2215:1350)\n at <anonymous> (/$bunfs/root/claude:2215:4440)\n at <anonymous> (/$bunfs/root/claude:2215:5171)\n at A (/$bunfs/root/claude:11:7259)\n at FZ8 (/$bunfs/root/claude:4862:4342)","timestamp":"2026-01-26T15:44:21.422Z"}]This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗