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

passing cli flag

matthew-heartfulaa5be47ffbc5
diff --git a/screenpipe-server/src/core.rs b/screenpipe-server/src/core.rs
index 426a51e17..7f2a40821 100644
--- a/screenpipe-server/src/core.rs
+++ b/screenpipe-server/src/core.rs
@@ -49,10 +49,11 @@ pub async fn start_continuous_recording(
vision_control: Arc<AtomicBool>,
audio_devices_control: Arc<SegQueue<(AudioDevice, DeviceControl)>>,
save_text_files: bool,
+ cloud_audio: bool, // Added cloud_audio parameter
) -> Result<()> {
info!("Recording now");
- let (whisper_sender, whisper_receiver) = create_whisper_channel().await?;
+ let (whisper_sender, whisper_receiver) = create_whisper_channel(cloud_audio).await?; // Pass cloud_audio
let db_manager_video = Arc::clone(&db);
let db_manager_audio = Arc::clone(&db);
@@ -320,4 +321,4 @@ async fn process_audio_result(db: &DatabaseManager, result: TranscriptionResult)
result.input.device, e
),
}
-}
+}
\ No newline at end of file