mirror of
https://github.com/openai/codex.git
synced 2026-10-25 15:56:38 +00:00
## What changed - Add `inject_response_items_for_turn` for callers that inject Responses API items immediately before admitting user input. It defers the rollout flush so the injected items and user input are persisted together by turn admission. - Keep `inject_response_items` behavior unchanged by flushing after it delegates to the new helper. - Update the turn-start persistence test to exercise the turn-aware path. GitOrigin-RevId: 8349b65f937af2b2a95d36b3fd73d862d38e5fd9