mirror of
https://github.com/openai/codex.git
synced 2026-10-19 16:17:49 +00:00
## Why Assistant answer text may be followed by more output or tools. A distinct `partial_answer` phase lets callers represent this separately from commentary and a terminal `final_answer`. ## What changed - Add `MessagePhase::PartialAnswer` and expose `partial_answer` in the app-server schemas and generated TypeScript and Python types. - Keep the TUI working indicator visible after partial answers and exclude them from the thread history's final-answer summary field. - Route partial answers to the speakable channel in realtime V3 BEM-tag mode. ## Testing Add coverage for phase preservation through serialization, input-message conversion, and SSE item start/completion events. Extend TUI snapshot coverage to verify that partial answers keep the working indicator visible while final answers hide it. GitOrigin-RevId: 1ae3ad9264b6e36ae1cbe6b93df3d345ab4460e6