From 515989587953b4d2f12284fc1cd7b3e8b0ea3254 Mon Sep 17 00:00:00 2001 From: Eric Traut Date: Sun, 12 Apr 2026 16:53:36 -0700 Subject: [PATCH] codex: address PR review feedback (#17578) --- codex-rs/core/src/pending_input.rs | 2 +- codex-rs/rollout/src/policy.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/codex-rs/core/src/pending_input.rs b/codex-rs/core/src/pending_input.rs index a680ea5742..d633d8de40 100644 --- a/codex-rs/core/src/pending_input.rs +++ b/codex-rs/core/src/pending_input.rs @@ -1,6 +1,6 @@ //! Pending input queued for delivery into a future or active regular turn. //! -//! Most pending input is an ordinary model input item. Generated input carries +//! Most pending input is an ordinary model input item. Injected messages carry //! the model-visible item plus a separate display event so clients can render //! the human-facing content without parsing the XML envelope recorded in model //! history. diff --git a/codex-rs/rollout/src/policy.rs b/codex-rs/rollout/src/policy.rs index 4b50781e76..99269f76f9 100644 --- a/codex-rs/rollout/src/policy.rs +++ b/codex-rs/rollout/src/policy.rs @@ -93,6 +93,7 @@ fn should_persist_event_msg_extended(ev: &EventMsg) -> bool { fn event_msg_persistence_mode(ev: &EventMsg) -> Option { match ev { EventMsg::UserMessage(_) + | EventMsg::InjectedMessage(_) | EventMsg::AgentMessage(_) | EventMsg::AgentReasoning(_) | EventMsg::AgentReasoningRawContent(_)