Context editing adds thinking block clearing
Context editing gained a `clear_thinking_20251015` strategy that automatically clears extended-thinking blocks from the conversation, on top of the existing clearing of older tool calls and results.
What does this mean for me?
Engineering leadership
Cost, risk, timeline, team impact Worth knowingLong agent runs can now shed extended-thinking blocks automatically, which lowers token spend. One caveat for compliance: cleared thinking is gone from context, so your own logs are the only record.
Engineer
What to change, what breaks, what to test Worth knowingAdd the `clear_thinking_20251015` strategy to your context-management config; it stacks with tool-result clearing. If you audit or replay transcripts, log thinking blocks yourself before they are cleared.
General consumer
Using the Claude apps, not the API No impactNothing to do — this is an API-only change.
Extended thinking blocks accumulate quickly in long agent runs. This strategy lets the API drop them automatically rather than requiring you to prune the message history yourself.
It is configured as an additional context-management strategy alongside tool-result clearing, so it stacks with what shipped on 29 September 2025.
Worth noting for anyone who replays or audits transcripts: cleared thinking blocks are removed from the context the model sees, so your own logging is the only durable record.
API surface
| Parameter | Change | Breaking | Models |
|---|---|---|---|
clear_thinking_20251015 | added | no |