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 merge mishap

kerosina5f593bd0e025
diff --git a/screenpipe-audio/src/stt.rs b/screenpipe-audio/src/stt.rs
index e6839536d..d96644f25 100644
--- a/screenpipe-audio/src/stt.rs
+++ b/screenpipe-audio/src/stt.rs
@@ -433,7 +433,7 @@ fn get_deepgram_api_key() -> String {
"7ed2a159a094337b01fd8178b914b7ae0e77822d".to_string()
}
-fn transcribe_with_deepgram(
+async fn transcribe_with_deepgram(
api_key: &str,
audio_data: &[f32],
device: &str,
@@ -677,7 +677,9 @@ pub async fn stt(
&speech_frames,
&audio_input.device.name,
audio_input.sample_rate,
- ) {
+ )
+ .await
+ {
Ok(transcription) => Ok(transcription),
Err(e) => {
error!(