mirror of
https://github.com/openai/codex.git
synced 2026-05-16 09:12:54 +00:00
Addresses #16801 Problem: Responses streams can emit assistant or reasoning deltas before an active item exists, which can panic the CLI and omit completed reasoning summaries from the live TUI. Solution: Buffer pre-item assistant text deltas, drop orphan reasoning deltas safely, and backfill completed reasoning summaries when no live deltas were buffered.