chore: cargo fmt

This commit is contained in:
2026-05-14 03:36:08 +09:00
parent f73e648929
commit 6358affd76
6 changed files with 19 additions and 25 deletions
+6 -1
View File
@@ -179,7 +179,12 @@ fn drain(rx: &mut broadcast::Receiver<Event>) -> Vec<Event> {
/// Collect every system-message text that the post-compaction
/// `SessionStart.history` carries, by reading the sink mirror directly.
fn system_texts_in_sink_session_start(pod: &pod::Pod<impl llm_worker::llm_client::client::LlmClient + Clone + 'static, impl session_store::Store + Clone + 'static>) -> Vec<String> {
fn system_texts_in_sink_session_start(
pod: &pod::Pod<
impl llm_worker::llm_client::client::LlmClient + Clone + 'static,
impl session_store::Store + Clone + 'static,
>,
) -> Vec<String> {
let (entries, _rx) = pod.sink().subscribe_with_snapshot();
for entry in entries.into_iter().rev() {
if let session_store::LogEntry::SessionStart { history, .. } = entry {
+1 -4
View File
@@ -287,10 +287,7 @@ async fn snapshot_includes_user_input_for_in_flight_turn() {
}
}
}
assert!(
found,
"snapshot must carry the in-flight UserInput entry"
);
assert!(found, "snapshot must carry the in-flight UserInput entry");
return;
}
Event::Alert(_) => continue,