This commit is contained in:
Ahmed Ibrahim
2025-09-05 14:40:16 -07:00
parent a045ef05f2
commit 268be2ac52

View File

@@ -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,
}
}