YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context
Rust agentsagiaiai-memoryaudio-recordingcomputer-visionhermeshermes-agentllmlocal-ailocal-firstmachine-learningmcpmultimodalopenclawprivacyrewindscreen-recordingspeech-to-textycombinator
chore: cargo fmt
Louis Beaumont7f4817ffc78c
diff --git a/crates/screenpipe-db/src/db.rs b/crates/screenpipe-db/src/db.rsindex bf7f94248..617445b8a 100644--- a/crates/screenpipe-db/src/db.rs+++ b/crates/screenpipe-db/src/db.rs@@ -5502,10 +5502,7 @@ impl DatabaseManager {"DELETE FROM speaker_embeddings WHERE speaker_id = ?","speaker embeddings",),- (- "DELETE FROM speakers WHERE id = ?",- "speaker",- ),+ ("DELETE FROM speakers WHERE id = ?", "speaker"),];for (query, operation) in operations {@@ -5527,7 +5524,10 @@ impl DatabaseManager {.execute(&mut **tx.conn()).await{- error!("Failed to delete audio chunk {} for speaker {}: {}", chunk_id, id, e);+ error!(+ "Failed to delete audio chunk {} for speaker {}: {}",+ chunk_id, id, e+ );return Err(e);}}diff --git a/crates/screenpipe-engine/src/routes/speakers.rs b/crates/screenpipe-engine/src/routes/speakers.rsindex e09971e24..b391e0fe4 100644--- a/crates/screenpipe-engine/src/routes/speakers.rs+++ b/crates/screenpipe-engine/src/routes/speakers.rs@@ -224,7 +224,11 @@ pub(crate) async fn delete_speaker_handler(if audio_chunk.start_time.is_some() && audio_chunk.end_time.is_some() {if let Err(e) = std::fs::remove_file(&audio_chunk.file_path) {if e.kind() != std::io::ErrorKind::NotFound {- tracing::warn!("failed to remove audio chunk file {}: {}", audio_chunk.file_path, e);+ tracing::warn!(+ "failed to remove audio chunk file {}: {}",+ audio_chunk.file_path,+ e+ );}}}