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 transcript timestamps

Ezra Ellette64ea66678a60
diff --git a/screenpipe-audio/src/stt.rs b/screenpipe-audio/src/stt.rs
index 30fa0788e..73a099822 100644
--- a/screenpipe-audio/src/stt.rs
+++ b/screenpipe-audio/src/stt.rs
@@ -218,7 +218,7 @@ fn process_with_whisper(
fn extract_time_tokens(text: &str, token_regex: &Regex) -> (String, String) {
let tokens = token_regex
- .find_iter(text.as_str())
+ .find_iter(text)
.map(|m| m.as_str())
.collect::<Vec<&str>>();