Show abort in the resume (#3629)
Show abort error when resuming a session
This commit is contained in:
@@ -40,7 +40,8 @@ pub(crate) fn should_persist_event_msg(ev: &EventMsg) -> bool {
|
|||||||
| EventMsg::AgentReasoningRawContent(_)
|
| EventMsg::AgentReasoningRawContent(_)
|
||||||
| EventMsg::TokenCount(_)
|
| EventMsg::TokenCount(_)
|
||||||
| EventMsg::EnteredReviewMode(_)
|
| EventMsg::EnteredReviewMode(_)
|
||||||
| EventMsg::ExitedReviewMode(_) => true,
|
| EventMsg::ExitedReviewMode(_)
|
||||||
|
| EventMsg::TurnAborted(_) => true,
|
||||||
EventMsg::Error(_)
|
EventMsg::Error(_)
|
||||||
| EventMsg::TaskStarted(_)
|
| EventMsg::TaskStarted(_)
|
||||||
| EventMsg::TaskComplete(_)
|
| EventMsg::TaskComplete(_)
|
||||||
@@ -67,7 +68,6 @@ pub(crate) fn should_persist_event_msg(ev: &EventMsg) -> bool {
|
|||||||
| EventMsg::McpListToolsResponse(_)
|
| EventMsg::McpListToolsResponse(_)
|
||||||
| EventMsg::ListCustomPromptsResponse(_)
|
| EventMsg::ListCustomPromptsResponse(_)
|
||||||
| EventMsg::PlanUpdate(_)
|
| EventMsg::PlanUpdate(_)
|
||||||
| EventMsg::TurnAborted(_)
|
|
||||||
| EventMsg::ShutdownComplete
|
| EventMsg::ShutdownComplete
|
||||||
| EventMsg::ConversationPath(_) => false,
|
| EventMsg::ConversationPath(_) => false,
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user