Skip to content

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

fix test

Louis Beaumont05a01a64f393
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index ac7c5021c..c319212ce 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -87,6 +87,16 @@ cargo test
DYLD_LIBRARY_PATH=$(pwd)/screenpipe-vision/lib cargo test
```
+You can add env var to `.vscode/settings.json`:
+
+```json
+{
+ "terminal.integrated.env.osx": {
+ "DYLD_LIBRARY_PATH": "$(pwd)/screenpipe-vision/lib"
+ }
+}
+```
+
## Other hacks
diff --git a/screenpipe-audio/tests/core_tests.rs b/screenpipe-audio/tests/core_tests.rs
index e88a2e8cb..e3c2ff2b6 100644
--- a/screenpipe-audio/tests/core_tests.rs
+++ b/screenpipe-audio/tests/core_tests.rs
@@ -47,7 +47,8 @@ mod tests {
println!("Starting speech to text test");
println!("Loading audio file");
let start = std::time::Instant::now();
- let whisper_model = WhisperModel::new().unwrap();
+ let whisper_model =
+ WhisperModel::new(Arc::new(AudioTranscriptionEngine::WhisperTiny)).unwrap();
let text = stt(
"./test_data/selah.mp4",