Problem
With openai-codex/gpt-5.6-terra and gpt-5.6-sol, visible thinking blocks sometimes show:
**Planning configuration reading**
<\!-- -->
The comment is present in the completed OpenAI reasoning item's summary, so Pi is not dropping readable reasoning. A comparison run with gpt-5.5 did not produce it.
Expected behavior
Do not render a summary part that is only a bold status heading followed by an empty HTML comment. Preserve literal comments in real content, for example Use `<\!-- -->` in JSX..
Prior art
OpenAI Codex handles this exact pattern as a standalone empty placeholder:
Suggested fix
Keep reasoning-summary parts separate until response.reasoning_summary_part.done. Suppress only the exact placeholder form from displayed thinking, while retaining the original reasoning item in thinkingSignature for replay.
Environment: Pi 0.80.6, openai-codex, hideThinkingBlock: false
Problem
With
openai-codex/gpt-5.6-terraandgpt-5.6-sol, visible thinking blocks sometimes show:The comment is present in the completed OpenAI reasoning item's
summary, so Pi is not dropping readable reasoning. A comparison run withgpt-5.5did not produce it.Expected behavior
Do not render a summary part that is only a bold status heading followed by an empty HTML comment. Preserve literal comments in real content, for example
Use `<\!-- -->` in JSX..Prior art
OpenAI Codex handles this exact pattern as a standalone empty placeholder:
Suggested fix
Keep reasoning-summary parts separate until
response.reasoning_summary_part.done. Suppress only the exact placeholder form from displayed thinking, while retaining the original reasoning item inthinkingSignaturefor replay.Environment: Pi
0.80.6,openai-codex,hideThinkingBlock: false