You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
qwen3 reasoning parser re-enters reasoning on a later <think> and deletes the markers #87
After </think>, streaming treats the first <think> it sees as a new reasoning block, even inside a tool-call argument. It strips the markers and moves the text between them into reasoning_content. Non-streaming instead deletes every <think> from the text and splits at the first </think>. Asking the model to edit code that quotes the markers (such as this parser) therefore corrupts the tool call, and differently in each mode.
Activity
gdevenyi commentedon Oct 16, 2026
Upstream: FlashML-org#711