Commentary-only assistant turn is hidden under "Worked for Xs" when final_answer is empty

Open 💬 0 comments Opened Jun 15, 2026 by hzjiangjian

What version of the IDE extension are you using?

26.609.30741

What subscription do you have?

ChatGPT Enterprise

Which IDE are you using?

VS Code

What platform is your computer?

Darwin 25.5.0 arm64 arm

What issue are you seeing?

In the VS Code Codex extension, I hit a case where a user-facing assistant reply was hidden inside the collapsed Worked for 6s section instead of appearing in the main message area.

I only noticed the missing reply after manually expanding Worked for 6s.

What steps can reproduce the bug?

I do not yet have a minimal deterministic repro, but this happened in a normal conversation flow:

  1. Ask Codex for design / UI-related help
  2. Codex gives a normal visible reply in the main message area
  3. Reply to that turn
  4. On the next turn, Codex emits a user-facing browser/visual-companion prompt
  5. That prompt is hidden inside the collapsed Worked for Xs section instead of appearing as the main reply

What is the expected behavior?

User-facing assistant content should appear in the main visible assistant message area.

The Worked for Xs / thinking section should not be the only place where actual reply content is shown.

Additional information

What I found in session history

This looks like a UI/rendering issue with commentary, not a tool-result issue.

The affected turn appears to contain:

  • a non-empty assistant commentary message
  • followed by an empty final_answer

So the UI seems to hide the meaningful commentary inside the collapsed Worked for Xs section.

Impact

Important assistant output is easy to miss, and the turn looks incomplete unless the user manually expands the working/thinking area.

Attachments

I have screenshots showing:

  1. the visible reply ending early
  2. the missing content only appearing after expanding Worked for 6s

<img width="721" height="380" alt="Image" src="https://github.com/user-attachments/assets/21892ebb-1cde-4d48-bc41-f39b2a8e5fc9" />

<img width="714" height="417" alt="Image" src="https://github.com/user-attachments/assets/4826b770-1a07-48bb-9b84-4c4debcd3cb2" />

View original on GitHub ↗