TECHNOLOGY

How can a Claude API client test preserved thinking after the November rollout?

In this article
THE QUICK TAKE

Replay an actual tool turn from persisted messages and verify the next request preserves required blocks and their order.

Anthropic’s November 9 announcement says preserved thinking now applies to all accounts. A client that reconstructs messages around tool results should check whether its persisted conversation can be sent back in a supported form. The test concerns message integrity across calls and restarts.

Capture the structured response

Use a synthetic task that calls a tool. Keep the structured content from the provider rather than reconstructing it from the rendered chat bubble. Preserve the block types, sequence and required opaque fields according to the API documentation. Display data can omit information that a later provider request needs.

Test streaming and restart together

Complete the assistant stream, persist the turn, restart the client and load the conversation again before supplying the tool result. Compare the reconstructed request with the one from an uninterrupted fixture. Check that handling a partially received stream cannot make the client label an incomplete turn as ready to replay.

Separate supported history management

If the product compacts conversations or removes older messages, test those functions against the provider’s documented boundaries. Use separate cases for a complete older turn and the active turn with a pending tool. A text-only history policy can break structured context that the active request still depends on.

Log shape without logging content

The useful test record includes version, block kinds, response status and whether the tool result completed. Use synthetic data for any payload snapshots. Keep private or opaque content out of analytics. A successful continuation after reload establishes that the SDK, persistence layer and request builder agree on the same structure.

Primary sources

Earn rental income from GPUs

Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.

Explore GPU hosting
← All articles