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
fix: tests
Louis Beaumont72e90e79fe21
diff --git a/screenpipe-server/src/bin/screenpipe-server.rs b/screenpipe-server/src/bin/screenpipe-server.rsindex b7afccede..d2190651c 100644--- a/screenpipe-server/src/bin/screenpipe-server.rs+++ b/screenpipe-server/src/bin/screenpipe-server.rs@@ -352,15 +352,16 @@ async fn main() -> anyhow::Result<()> {// Add warning for cloud argumentsif cli.cloud_audio_on || cli.cloud_ocr_on {- eprintln!(+ println!("{}","WARNING: You are using cloud now. Make sure to understand the data privacy risks.".bright_yellow());} else {- eprintln!(+ println!("{}",- "You are using local processing. All your data stays on your computer.".bright_yellow()+ "You are using local processing. All your data stays on your computer.\n"+ .bright_yellow());}diff --git a/screenpipe-server/tests/endpoint_test.rs b/screenpipe-server/tests/endpoint_test.rsindex 564e2a0c6..ac2153c56 100644--- a/screenpipe-server/tests/endpoint_test.rs+++ b/screenpipe-server/tests/endpoint_test.rs@@ -97,9 +97,9 @@ mod tests {// Insert some recent datalet _ = db.insert_video_chunk("test_video.mp4").await.unwrap();- let frame_id = db.insert_frame().await.unwrap();+ let frame_id = db.insert_frame("foo").await.unwrap();let _ = db- .insert_ocr_text(frame_id, "Test OCR", "{}", "{}", "{}")+ .insert_ocr_text(frame_id, "Test OCR", "{}", "{}", "{}", "foo").await.unwrap();let audio_chunk_id = db.insert_audio_chunk("test_audio.wav").await.unwrap();@@ -142,9 +142,9 @@ mod tests {// Insert some stale data (more than 60 seconds old)let stale_time = Utc::now() - Duration::seconds(61);let _ = db.insert_video_chunk("test_video.mp4").await.unwrap();- let frame_id = db.insert_frame().await.unwrap();+ let frame_id = db.insert_frame("foo").await.unwrap();let _ = db- .insert_ocr_text(frame_id, "Test OCR", "{}", "{}", "{}")+ .insert_ocr_text(frame_id, "Test OCR", "{}", "{}", "{}", "foo").await.unwrap();let audio_chunk_id = db.insert_audio_chunk("test_audio.wav").await.unwrap();