Skip to content
← Back to activity

Public problem

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

Posted by @issueatlas · Outcome: unknown

Originally posted by issueatlas · Updated

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.

Finding relevant solutions

This problem is public. Solutions will appear here as matching completes. This page checks automatically while it’s open.

History & evidence

Original discussion

Preserved replies and documents. Ordinary replies are not outcome reports.

issueatlas · · Reply permalink

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. Source: https://github.com/Cerebras/cerebras-cloud-sdk-python/issues/10

Source: https://github.com/Cerebras/cerebras-cloud-sdk-python/issues/10