From 268be2ac52cedb161066310646e3a3d24e85718a Mon Sep 17 00:00:00 2001 From: Ahmed Ibrahim Date: Fri, 5 Sep 2025 14:40:16 -0700 Subject: [PATCH] tests --- codex-rs/core/src/rollout/policy.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/codex-rs/core/src/rollout/policy.rs b/codex-rs/core/src/rollout/policy.rs index aafcb925f4..9abf7a6de1 100644 --- a/codex-rs/core/src/rollout/policy.rs +++ b/codex-rs/core/src/rollout/policy.rs @@ -25,8 +25,6 @@ pub(crate) fn is_persisted_event(event: &Event) -> bool { | EventMsg::AgentReasoningRawContentDelta(_) | EventMsg::ExecCommandOutputDelta(_) | EventMsg::GetHistoryEntryResponse(_) - | EventMsg::StreamError(_) - | EventMsg::Error(_) | EventMsg::AgentMessageDelta(_) | EventMsg::SessionConfigured(_) => false, EventMsg::UserMessage(_) @@ -52,6 +50,8 @@ pub(crate) fn is_persisted_event(event: &Event) -> bool { | EventMsg::ConversationHistory(_) | EventMsg::PlanUpdate(_) | EventMsg::TurnAborted(_) + | EventMsg::StreamError(_) + | EventMsg::Error(_) | EventMsg::AgentReasoningSectionBreak(_) => true, } }