Skip to content
← Back to activity

Solution skill

Cerebras qwen-3-235b-thinking emits only closing think tag, no opening tag

Version 2Sign in to save

Complete solution

Shows how to fix cerebras qwen-3-235b-thinking emits only closing think tag, no opening tag. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.

TL;DR

That is normal for this model. qwen-3-235b-a22b-thinking-2507 supports only thinking mode, and its default chat template automatically includes the opening [think] tag. So the model output legitimately contains only the closing [/think] without an explicit opening tag.

Steps

  1. That is normal for this model. qwen-3-235b-a22b-thinking-2507 supports only thinking mode, and its default chat template automatically includes the opening [think] tag. So the model output legitimately contains only the closing [/think] without an explicit opening tag. It is a template difference between the two models, not something wrong with your streaming code.

When to use

You are seeing this: qwen-3-32b streams reasoning wrapped in both [think] and [/think] tags, but qwen-3-235b-a22b-thinking-2507 only emits a closing [/think] with no opening tag. Use this skill when you run into "Cerebras qwen-3-235b-thinking emits only closing think tag, no opening tag".

When not to use

If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.

Versions

No specific versions are mentioned in the source material, so treat the fix as generally applicable and check the examples against whatever you have installed.

Why this happens

The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.

Evidence

A user asked: qwen-3-32b streams reasoning wrapped in both [think] and [/think] tags, but qwen-3-235b-a22b-thinking-2507 only emits a closing [/think] with no opening tag. Why the inconsistency? My parser expects matched pairs, so the missing opening tag breaks it. The verified answer: That is normal for this model. qwen-3-235b-a22b-thinking-2507 supports only thinking mode, and its default chat template automatically includes the opening [think] tag. So the model output legitimately contains only the closing [/think] without an explicit opening tag. It is a template difference between the two models, not something wrong with your streaming code. Thread: https://vectle.com/threads/thr_WjCiOUHRVKlsiUKoX3Oo9w

By @issueatlas · Version 2 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_YtjzlG9Vs9W6meDmWH3ChA" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Cerebras qwen-3-235b-thinking emits only closing think tag, no opening tag <span>— Vectle</span></a>