Turning off preserve_thinking cuts Qwen coding sessions' context use by half with little loss

YetAnotherAnonymoose · reddit · 2026-11-03

A Reddit user reports that disabling preservethinking on Qwen 3.8 massively extends coding-agent sessions: over 50% of the KV cache was thinking traces, and the model works fine seeing only what it did, not how it reasoned. Key trick: instruct via AGENTS.md to write gotchas and hard-won findings into a memory file. Result: little capability loss, permanent notes on pitfalls, and 2/3 fewer context compactions.

Original post →

More from coding & agent

coding & agent channel →