Bug Description
15 {
⎿ API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"messages.19.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."}}
continue
⎿ API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"messages.137: tool_use ids were found without
tool_result blocks immediately after: toolu_01L8h7YeuxEC9BWPkbWJr9Hp. Each tool_use block must have a corresponding tool_result block
in the next message."}}
continue
⎿ API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"messages.137: tool_use ids were found without
tool_result blocks immediately after: toolu_01L8h7YeuxEC9BWPkbWJr9Hp. Each tool_use block must have a corresponding tool_result block
in the next message."}}
continue
⎿ API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"messages.137: tool_use ids were found without
tool_result blocks immediately after: toolu_01L8h7YeuxEC9BWPkbWJr9Hp. Each tool_use block must have a corresponding tool_result block
in the next message."}}
What's wrong with you..?
⎿ API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"messages.137: tool_use ids were found without
tool_result blocks immediately after: toolu_01L8h7YeuxEC9BWPkbWJr9Hp. Each tool_use block must have a corresponding tool_result block
in the next message."}}
continue
⎿ API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"messages.137: tool_use ids were found without
tool_result blocks immediately after: toolu_01L8h7YeuxEC9BWPkbWJr9Hp. Each tool_use block must have a corresponding tool_result block
in the next message."}}
/compact
⎿ Error: Error during compaction: Error: API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"messages.137:
tool_use ids were found without tool_result blocks immediately after: toolu_01L8h7YeuxEC9BWPkbWJr9Hp. Each tool_use block must have a
corresponding tool_result block in the next message."}}
Environment Info
- Platform: linux
- Terminal: vscode
- Version: 1.0.43
- Feedback ID: 9ac3d138-7e91-47e0-9801-1c8c391b75c7
Errors
[{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n at RF (file:///home/stefanos/.nvm/versions/node/v20.0.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1491:1184)\n at file:///home/stefanos/.nvm/versions/node/v20.0.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1491:912\n at Array.map (<anonymous>)\n at WE (file:///home/stefanos/.nvm/versions/node/v20.0.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1491:903)\n at RS2 (file:///home/stefanos/.nvm/versions/node/v20.0.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1960:9737)\n at Ew (file:///home/stefanos/.nvm/versions/node/v20.0.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:65:19798)\n at jP (file:///home/stefanos/.nvm/versions/node/v20.0.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:42569)\n at SP (file:///home/stefanos/.nvm/versions/node/v20.0.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:38118)\n at FL (file:///home/stefanos/.nvm/versions/node/v20.0.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:38046)\n at xw (file:///home/stefanos/.nvm/versions/node/v20.0.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:37900)","timestamp":"2025-07-06T20:41:53.222Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"messages.137: `tool_use` ids were found without `tool_result` blocks immediately after: toolu_01L8h7YeuxEC9BWPkbWJr9Hp. Each `tool_use` block must have a corresponding `tool_result` block in the next message.\"}}\n at C6.generate (file:///home/stefanos/.nvm/versions/node/v20.0.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1317:12578)\n at bq.makeStatusError (file:///home/stefanos/.nvm/versions/node/v20.0.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1334:2100)\n at bq.makeRequest (file:///home/stefanos/.nvm/versions/node/v20.0.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1334:5311)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async jA1.showErrors (file:///home/stefanos/.nvm/versions/node/v20.0.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1703:23044)\n at async jA1 (file:///home/stefanos/.nvm/versions/node/v20.0.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1703:12633)\n at async lR2 (file:///home/stefanos/.nvm/versions/node/v
Note: Error logs were truncated.
Bug Description
15 {
⎿ API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"messages.19.content.12:
thinkingorredacted_thinkingblocks in the latest assistant message cannot be modified. These blocks must remain as they were in the original response."}}
Environment Info
Errors
[{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n at RF (file:///home/stefanos/.nvm/versions/node/v20.0.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1491:1184)\n at file:///home/stefanos/.nvm/versions/node/v20.0.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1491:912\n at Array.map (<anonymous>)\n at WE (file:///home/stefanos/.nvm/versions/node/v20.0.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1491:903)\n at RS2 (file:///home/stefanos/.nvm/versions/node/v20.0.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1960:9737)\n at Ew (file:///home/stefanos/.nvm/versions/node/v20.0.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:65:19798)\n at jP (file:///home/stefanos/.nvm/versions/node/v20.0.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:42569)\n at SP (file:///home/stefanos/.nvm/versions/node/v20.0.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:38118)\n at FL (file:///home/stefanos/.nvm/versions/node/v20.0.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:38046)\n at xw (file:///home/stefanos/.nvm/versions/node/v20.0.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:67:37900)","timestamp":"2025-07-06T20:41:53.222Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"messages.137: `tool_use` ids were found without `tool_result` blocks immediately after: toolu_01L8h7YeuxEC9BWPkbWJr9Hp. Each `tool_use` block must have a corresponding `tool_result` block in the next message.\"}}\n at C6.generate (file:///home/stefanos/.nvm/versions/node/v20.0.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1317:12578)\n at bq.makeStatusError (file:///home/stefanos/.nvm/versions/node/v20.0.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1334:2100)\n at bq.makeRequest (file:///home/stefanos/.nvm/versions/node/v20.0.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1334:5311)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async jA1.showErrors (file:///home/stefanos/.nvm/versions/node/v20.0.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1703:23044)\n at async jA1 (file:///home/stefanos/.nvm/versions/node/v20.0.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1703:12633)\n at async lR2 (file:///home/stefanos/.nvm/versions/node/vNote: Error logs were truncated.