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(ci): compile error in pi test + rustfmt for calendar_speaker_id
Louis Beaumontd437204dbec0
diff --git a/crates/screenpipe-core/src/agents/pi.rs b/crates/screenpipe-core/src/agents/pi.rsindex 5e5e310a7..8809766d2 100644--- a/crates/screenpipe-core/src/agents/pi.rs+++ b/crates/screenpipe-core/src/agents/pi.rs@@ -1851,8 +1851,8 @@ mod tests {assert_eq!(lines[1], "OK");}- #[test]- fn test_ensure_pi_config_adds_ollama_provider() {+ #[tokio::test]+ async fn test_ensure_pi_config_adds_ollama_provider() {// Call ensure_pi_config with ollama provider infoPiExecutor::ensure_pi_config(None,@@ -1861,6 +1861,7 @@ mod tests {Some("qwen3:8b"),Some("http://localhost:11434/v1"),)+ .await.expect("ensure_pi_config should succeed");// Read models.json and verify ollama provider was addeddiff --git a/crates/screenpipe-engine/src/calendar_speaker_id.rs b/crates/screenpipe-engine/src/calendar_speaker_id.rsindex 9f8ec79f2..a875b3f45 100644--- a/crates/screenpipe-engine/src/calendar_speaker_id.rs+++ b/crates/screenpipe-engine/src/calendar_speaker_id.rs@@ -1190,10 +1190,7 @@ mod tests {deduplicate_speaker_by_name(&db, id_b, "[email protected]").await;// After merge: "[email protected]" entry should be gone- let email_speaker = db- .find_speaker_by_name("[email protected]")- .await- .unwrap();+ let email_speaker = db.find_speaker_by_name("[email protected]").await.unwrap();assert!(email_speaker.is_none(),"[email protected] should have been merged away"@@ -1223,10 +1220,7 @@ mod tests {deduplicate_speaker_by_name(&db, id_b, "[email protected]").await;// Both should still exist independently- let email_speaker = db- .find_speaker_by_name("[email protected]")- .await- .unwrap();+ let email_speaker = db.find_speaker_by_name("[email protected]").await.unwrap();assert!(email_speaker.is_some(),"different-voice speakers must not be merged"