more compatibility

This commit is contained in:
Roy Han
2026-03-13 21:08:50 -07:00
parent b2ded6f1e9
commit 445a6433a3
2 changed files with 1 additions and 4 deletions
+1
View File
@@ -165,6 +165,7 @@ mod tests {
content: vec![ContentItem::InputText {
text: "hello from response item".to_string(),
}],
metadata: None,
end_turn: None,
phase: None,
});
-4
View File
@@ -247,7 +247,6 @@ async fn thread_snapshot_replay_does_not_duplicate_agent_message_history() {
text: "assistant reply".to_string(),
}],
phase: None,
metadata: None,
}),
}),
});
@@ -3533,7 +3532,6 @@ fn complete_assistant_message(
text: text.to_string(),
}],
phase,
metadata: None,
}),
}),
});
@@ -3569,7 +3567,6 @@ fn complete_user_message_for_inputs(chat: &mut ChatWidget, item_id: &str, conten
item: TurnItem::UserMessage(UserMessageItem {
id: item_id.to_string(),
content,
metadata: None,
}),
}),
});
@@ -5853,7 +5850,6 @@ async fn slash_copy_state_tracks_plan_item_completion() {
item: TurnItem::Plan(PlanItem {
id: "plan-1".to_string(),
text: plan_text.clone(),
metadata: None,
}),
}),
});