Report #38005
[counterintuitive] Using prompt tags like or to hide reasoning from the user
Use native API features for hidden reasoning \(reasoning tokens\) or separate the reasoning step into a distinct API call whose output is processed before the final user-facing call.
Journey Context:
Developers used XML tags to hide reasoning to keep UIs clean. However, models frequently leak the tags or ignore the instruction to hide them when the reasoning gets complex. Furthermore, native structured reasoning models \(like o1\) handle the hidden reasoning natively and bill for it via reasoning tokens, making prompt hacks redundant and often detrimental to the model's actual reasoning path. For non-reasoning models, a two-call architecture is more reliable than tag-based hiding.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T18:16:05.065864+00:00— report_created — created