Skip to content

Instantly share code, notes, and snippets.

@gammons
Created June 1, 2026 09:50
Show Gist options
  • Select an option

  • Save gammons/faa7eabe7e7d92ecb361ac9022f48f85 to your computer and use it in GitHub Desktop.

Select an option

Save gammons/faa7eabe7e7d92ecb361ac9022f48f85 to your computer and use it in GitHub Desktop.
{
"info": {
"parentID": "msg_e7ddea06a001LK18Tpx5wtThOh",
"role": "assistant",
"mode": "build",
"agent": "build",
"variant": "high",
"path": {
"cwd": "/home/grant/local_code/graft",
"root": "/home/grant/local_code/graft"
},
"cost": 0,
"tokens": {
"input": 0,
"output": 0,
"reasoning": 0,
"cache": {
"read": 0,
"write": 0
}
},
"modelID": "claude-opus-4-8",
"providerID": "anthropic",
"time": {
"created": 1780228524682,
"completed": 1780228525030
},
"error": {
"name": "APIError",
"data": {
"message": "messages.1.content.9: `thinking` or `redacted_thinking` blocks in the latest assistant message cannot be modified. These blocks must remain as they were in the original response.",
"statusCode": 400,
"isRetryable": false,
"responseHeaders": {
"anthropic-organization-id": "7e1cd492-cd08-4df6-a227-a06995941919",
"cf-cache-status": "DYNAMIC",
"cf-ray": "a045ca17bd22665a-PHL",
"connection": "keep-alive",
"content-encoding": "gzip",
"content-security-policy": "default-src 'none'; frame-ancestors 'none'",
"content-type": "application/json",
"date": "Sun, 31 May 2026 11:55:24 GMT",
"request-id": "req_011Cbabwfu9qEUNRDiuNzN5M",
"server": "cloudflare",
"strict-transport-security": "max-age=31536000; includeSubDomains; preload",
"traceresponse": "00-92b594a8c834161184264b2c4d0579b0-932a3a3c3f1a20e3-01",
"transfer-encoding": "chunked",
"vary": "Accept-Encoding",
"x-robots-tag": "none",
"x-should-retry": "false",
"set-cookie": "_cfuvid=u4.QGGDs1N4XJgdiJvAGyfaChArHMBj9zd8mesoOgXA-1780228524.7595608-1.0.1.1-FlHruFepV7w9Q6JyyweLhHOvT.jVTkBWFEZ897KOLGs; HttpOnly; SameSite=None; Secure; Path=/; Domain=api.anthropic.com"
},
"responseBody": "{\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"messages.1.content.9: `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_011Cbabwfu9qEUNRDiuNzN5M\"}",
"metadata": {
"url": "https://api.anthropic.com/v1/messages"
}
}
},
"id": "msg_e7de38a8a001SShxc3FyJSLRk7",
"sessionID": "ses_182215fa4ffeFNbsJPUEt35K33"
},
"parts": []
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment