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: default to whisper on macOS, keep parakeet on Windows/Linux
Louis Beaumont730d2bd8e10f
diff --git a/apps/screenpipe-app-tauri/components/settings/recording-settings.tsx b/apps/screenpipe-app-tauri/components/settings/recording-settings.tsxindex 5d57a0722..c45f1bab3 100644--- a/apps/screenpipe-app-tauri/components/settings/recording-settings.tsx+++ b/apps/screenpipe-app-tauri/components/settings/recording-settings.tsx@@ -1308,7 +1308,7 @@ Your screen is a pipe. Everything you see, hear, and type flows through it. Scre<SelectItem value="whisper-tiny">Whisper Tiny</SelectItem><SelectItem value="whisper-tiny-quantized">Whisper Tiny (fast)</SelectItem>{!isMacOS && <SelectItem value="qwen3-asr">Qwen3-ASR</SelectItem>}- <SelectItem value="parakeet">Parakeet</SelectItem>+ <SelectItem value="parakeet">Parakeet{isMacOS ? " (experimental)" : ""}</SelectItem></SelectGroup><SelectGroup><SelectLabel className="text-[10px] text-muted-foreground/70 uppercase tracking-wider">other</SelectLabel>diff --git a/apps/screenpipe-app-tauri/lib/hooks/use-settings.tsx b/apps/screenpipe-app-tauri/lib/hooks/use-settings.tsxindex 7994ad882..639dc20b7 100644--- a/apps/screenpipe-app-tauri/lib/hooks/use-settings.tsx+++ b/apps/screenpipe-app-tauri/lib/hooks/use-settings.tsx@@ -251,7 +251,7 @@ let DEFAULT_SETTINGS: Settings = {userId: "",analyticsId: "",devMode: false,- audioTranscriptionEngine: "parakeet",+ audioTranscriptionEngine: "whisper-large-v3-turbo-quantized",ocrEngine: "default",monitorIds: ["default"],audioDevices: ["default"],@@ -484,15 +484,20 @@ function createSettingsStore() {// Migration: Auto-detect hardware and adjust engine for weak machines (one-time only)// Migration: Switch to Parakeet as default engine (one-time)// - Paid cloud subscribers → screenpipe-cloud (better accuracy)- // - Everyone else → parakeet (lightweight, multilingual, works on all hardware)+ // - macOS users → whisper-large-v3-turbo-quantized (parakeet/MLX is experimental on macOS)+ // - Windows/Linux users → parakeet (stable on these platforms)if (!(settings as any)._parakeetDefaultMigrationDone) {const engine = settings.audioTranscriptionEngine;const isWhisperVariant = engine?.includes("whisper");- if (isWhisperVariant || engine === "screenpipe-cloud") {+ if (isWhisperVariant || engine === "screenpipe-cloud" || engine === "parakeet") {if (settings.user?.cloud_subscribed) {settings.audioTranscriptionEngine = "screenpipe-cloud";} else {- settings.audioTranscriptionEngine = "parakeet";+ const { platform: getPlatform } = await import("@tauri-apps/plugin-os");+ const os = getPlatform();+ settings.audioTranscriptionEngine = os === "macos"+ ? "whisper-large-v3-turbo-quantized"+ : "parakeet";}needsUpdate = true;}@@ -500,6 +505,18 @@ function createSettingsStore() {needsUpdate = true;}+ // Migration: Switch macOS users from parakeet back to whisper (parakeet/MLX experimental)+ if (!(settings as any)._macosWhisperDefaultMigrationDone) {+ const { platform: getPlatform } = await import("@tauri-apps/plugin-os");+ const os = getPlatform();+ if (os === "macos" && settings.audioTranscriptionEngine === "parakeet") {+ settings.audioTranscriptionEngine = "whisper-large-v3-turbo-quantized";+ needsUpdate = true;+ }+ (settings as any)._macosWhisperDefaultMigrationDone = true;+ needsUpdate = true;+ }+// Save migrations if neededif (needsUpdate) {await store.set("settings", settings);diff --git a/crates/screenpipe-config/src/defaults.rs b/crates/screenpipe-config/src/defaults.rsindex c19ccff32..6f1ae8556 100644--- a/crates/screenpipe-config/src/defaults.rs+++ b/crates/screenpipe-config/src/defaults.rs@@ -198,28 +198,28 @@ pub fn macos_major_version() -> Option<u32> {////// Decision matrix:///-/// | Tier | macOS ≥ 26 | macOS < 26 / other OS |-/// |------|-------------|-----------------------|-/// | High | parakeet | whisper-large-v3-turbo-quantized |-/// | Mid | parakeet | whisper-large-v3-turbo-quantized |-/// | Low | whisper-tiny| whisper-tiny |+/// | Tier | macOS | Windows/Linux |+/// |------|--------------------|---------------|+/// | High | whisper-turbo-q | parakeet |+/// | Mid | whisper-turbo-q | parakeet |+/// | Low | whisper-tiny | whisper-tiny |///-/// Parakeet requires macOS 26+ for MLX Metal GPU support. On older macOS-/// or non-Mac platforms, it crashes during model loading. Low-tier devices-/// (≤8 GB) can't fit the 2.3 GB model regardless of OS version.+/// Parakeet on macOS uses MLX which is currently experimental and has+/// stability issues. On macOS we default to the proven Whisper engine.+/// On Windows/Linux, parakeet is stable and remains the default.pub fn best_engine_for_platform(tier: DeviceTier) -> &'static str {if tier == DeviceTier::Low {return "whisper-tiny";}- let macos_ok = macos_major_version()- .map(|v| v >= PARAKEET_MIN_MACOS_MAJOR)- .unwrap_or(false);+ #[cfg(target_os = "macos")]+ {+ "whisper-large-v3-turbo-quantized"+ }- if macos_ok {+ #[cfg(not(target_os = "macos"))]+ {"parakeet"- } else {- "whisper-large-v3-turbo-quantized"}}diff --git a/crates/screenpipe-config/src/recording.rs b/crates/screenpipe-config/src/recording.rsindex 06f82f34c..d1b341b0e 100644--- a/crates/screenpipe-config/src/recording.rs+++ b/crates/screenpipe-config/src/recording.rs@@ -247,7 +247,11 @@ impl Default for RecordingSettings {fn default() -> Self {Self {disable_audio: false,- audio_transcription_engine: "parakeet".to_string(),+ audio_transcription_engine: if cfg!(target_os = "macos") {+ "whisper-large-v3-turbo-quantized".to_string()+ } else {+ "parakeet".to_string()+ },transcription_mode: "batch".to_string(),audio_devices: vec![],use_system_default_audio: true,