TECHNOLOGY

Qwen3.6 preserve_thinking for iterative code changes

In this article
THE QUICK TAKE

Qwen3.6 thinking preservation changes supplied conversation history without creating permanent memory outside the input.

Qwen3.6 introduces an option to preserve reasoning from historical messages. For iterative code work, the useful question is whether this helps maintain the task’s requirements across revisions of the same change.

Verify the model and the history option

The 35B-A3B card identifies thinking preservation as a feature of Qwen3.6. The 27B card describes the same release direction for its dense language backbone. These are specific checkpoint instructions, not a universal convention for every model with thinking output.

The feature concerns the conversation supplied to generation. It does not create durable memory outside that input or retrieve facts from an earlier session automatically. A client that never returns the relevant messages cannot expect a preservation option to reconstruct them.

Construct an iterative editing transcript

Use a fictional validation function with a stable requirement: missing values must remain distinguishable from explicit empty values. In the first turn, request a valid implementation. In the next turn, add an unrelated formatting change. Then ask for a boundary-case correction.

Keep the original invariant visible in the reference record. The final patch must satisfy the new request without erasing the distinction established earlier. This makes the test about requirement continuity, not whether the model can produce a plausible new implementation from scratch.

Compare controlled history conditions

ConditionWhat changes
Preserved reasoningApply the checkpoint’s documented preservation option
Cleared reasoningUse the corresponding documented history behavior
User requirementsKeep the same original instructions
Tool observationsPreserve identical test and file results
Acceptance testsCheck both the old invariant and the new correction

The Qwen3.8 card also documents preservation controls in a later release, which helps show why version identity matters. Do not copy later hosted-product behavior into a Qwen3.6 local configuration without checking its actual template.

Inspect the rendered conversation

Before interpreting quality, save the messages and the rendered prompt for each condition. Check which historical reasoning was actually included, whether assistant final answers remained intact and whether the newest user request was positioned correctly.

If the input became too long and lost the original requirement, the experiment changed more than reasoning preservation. If a wrapper reordered or summarized historical content, retain that transformation separately. The comparison needs known input differences to support a meaningful explanation.

Record continuity rather than trace length

For each final patch, record whether the original invariant, formatting change and boundary correction all pass. Add incomplete output and unrelated edits as separate outcomes. Longer historical reasoning is not automatically a better result.

Keep the transcript, checkpoint revision, template settings and final diff together. A successful result supports this particular iterative workflow; it does not establish permanent model memory or justify retaining every reasoning block across all families. Repeat the comparison when the checkpoint, history policy or task structure changes.

← All articles