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
Thanks for the detailed analysis! I understand the issue now - the OpenRouter-proxied Qwen models use a different format that wasn't being filtered. Looking forward to the fix in the next release!
Current main already has the reasoning-leak fix: reply delivery now prefers final_answer text, suppresses commentary-phase output, and strips/promotes <think>-style reasoning so it does not reach user-visible replies. The changelog says this shipped in v2026.4.5.
What I checked:
Release note for shipped fix:CHANGELOG.md records the relevant fix under release 2026.4.5: OpenAI/reply delivery now adds assistant phase metadata and keeps commentary buffered until final_answer so visible surfaces stop leaking planning text. (CHANGELOG.md:1240)
Visible-text extraction prefers final answers: Current shared extraction returns final_answer text first and only falls back when phased final text is absent, preventing legacy/unphased text from reviving leaked planning content. (src/shared/chat-message-content.ts:182, f3c37a946cc4)
Streaming path suppresses commentary output: The embedded reply handler exits immediately for commentary phase updates before assembling visible block replies, so commentary text is not emitted to users. (src/agents/pi-embedded-subscribe.handlers.messages.ts:471, f3c37a946cc4)
Tagged reasoning is stripped/promoted out of visible text: OpenClaw strips <think>, <thinking>, <thought>, and related tags from visible text, and also promotes embedded think-tag text blocks into separate thinking blocks before final delivery. (src/shared/text/reasoning-tags.ts:20, f3c37a946cc4)
Activity
Hollychou924 commentedon Mar 18, 2026
gzsiang commentedon Mar 18, 2026
Thanks for the detailed analysis! I understand the issue now - the OpenRouter-proxied Qwen models use a different format that wasn't being filtered. Looking forward to the fix in the next release!
steipete commentedon Apr 25, 2026
Closing this as implemented after Codex review.
Current
mainalready has the reasoning-leak fix: reply delivery now prefersfinal_answertext, suppresses commentary-phase output, and strips/promotes<think>-style reasoning so it does not reach user-visible replies. The changelog says this shipped inv2026.4.5.What I checked:
CHANGELOG.mdrecords the relevant fix under release2026.4.5: OpenAI/reply delivery now adds assistantphasemetadata and keeps commentary buffered untilfinal_answerso visible surfaces stop leaking planning text. (CHANGELOG.md:1240)final_answertext first and only falls back when phased final text is absent, preventing legacy/unphased text from reviving leaked planning content. (src/shared/chat-message-content.ts:182, f3c37a946cc4)commentaryphase updates before assembling visible block replies, so commentary text is not emitted to users. (src/agents/pi-embedded-subscribe.handlers.messages.ts:471, f3c37a946cc4)<think>,<thinking>,<thought>, and related tags from visible text, and also promotes embedded think-tag text blocks into separatethinkingblocks before final delivery. (src/shared/text/reasoning-tags.ts:20, f3c37a946cc4)final_answerleaks, and stripping<think>blocks from visible text. (src/agents/pi-embedded-subscribe.handlers.messages.test.ts:481, f3c37a946cc4)So I’m closing this as already implemented rather than keeping a duplicate issue open.
Review notes: reviewed against f3c37a946cc4; fix evidence: release v2026.4.5.