2026-11-26 16:13 UTC

GPT-OSS template fix addresses misrendered earlier answers

state: expiredheat: mediumuncertainty: mediumrelevance: mediumgpt-oss chat-templates local-inference unslotharbvUnsloth

What is this?

GPT-OSS chat templates convert conversation history into the format sent to the model. arbv reported that an Unsloth-derived template mishandled earlier assistant turns containing both reasoning (`thinking`) and an answer, and published a corrected template. The supplied search results show subsequent Unsloth pull requests addressing how such turns are rendered, but their snippets describe the defect more specifically: an earlier answer could be placed on the analysis channel. The evidence supports a real template-correction effort, but not the broader claim that the answer was always dropped or that the bug’s impact across local deployments has been measured.

Why it matters

A chat-template bug can quietly change what GPT-OSS sees from earlier turns, so it may explain poor or erratic multi-turn behavior without any change to model weights. The supplied search results show an Unsloth pull request correcting how earlier answers with reasoning are rendered, making this more than an isolated user report. It matters most to people running GPT-OSS through affected templates; the evidence does not establish how many deployments were affected or quantify quality gains.

Current assessment

arbv reported that an Unsloth-derived GPT-OSS Jinja template mishandled replayed assistant turns containing both reasoning (`thinking`) and an answer, and published a corrected template. The supplied search results clarify the issue: in the earlier-turn reasoning branch, the template could put the answer content on the `analysis` channel; this is more precise than arbv’s description that the answer was dropped. An Unsloth pull request (#14700) says turns with an answer now fall through to `final`, while reasoning-only turns remain on `analysis`. A separate pull request in a fork also describes the earlier-turn channel error, but says it was not tested against OpenAI’s own template and no fine-tune was run to measure effects. These results support that a template correction was pursued, not that every local GPT-OSS setup used the affected version or that the fix produces a measured performance improvement. For users diagnosing multi-turn problems, checking the serving stack and template version is a useful step; arbv also says its `preserve_thinking` option trades higher token usage for potential prefix-caching benefits.

Measured heat

no measured readings yet — the hourly heat pass fills this in

How the heat travelled

09-26 21:24 (minted)⭐ origin echo-reconstructedUpdated GPT-OSS Jinja chat template adding preserve_thinking and fixing a bug induced by Unsloth's template that degrades the model when cha
arbv on github (echo) · attributed from reddit.post.1wr0wki · published time unknown
—
09-26 20:35first on r/LocalLLaMA · published · lag ?Improved and fixed template for GPT-OSS (again). Includes preserve_thinking and fix for Unsloth-induced bug
arbv
—
09-26 20:35amplified on r/LocalLLaMA 👑reddit.post.1wr0wki
arbv
peak 50 · 35 comments · 100% of case engagement
09-26 21:20our radar first saw it · lag ?discovery anchor: reddit.post.1wr0wki—

Evidence (2) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟠 redditImproved and fixed template for GPT-OSS (again). Includes preserve_thinking and fix for Unsloth-induced bug
LocalLLaMA
arbv4835
🟧 echo.github ⭐Updated GPT-OSS Jinja chat template adding preserve_thinking and fixing a bug induced by Unsloth's template that degrades the model when chaarbv——

Interpretation history

Decision trace