mirror of
https://github.com/openai/codex.git
synced 2026-10-30 16:12:09 +00:00
This PR updates ChatWidget to ensure that when AgentMessage, AgentReasoning, or AgentReasoningRawContent events arrive without any streamed deltas, the final text from the event is rendered before the stream is finalized. Previously, these handlers ignored the event text in such cases, relying solely on prior deltas. <img width="603" height="189" alt="image" src="https://github.com/user-attachments/assets/868516f2-7963-4603-9af4-adb1b1eda61e" />