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: use Parakeet as default engine on macOS 26+ High tier
Louis Beaumont0f572af24d20
diff --git a/crates/screenpipe-config/src/defaults.rs b/crates/screenpipe-config/src/defaults.rsindex 606a7d2c5..351d86236 100644--- a/crates/screenpipe-config/src/defaults.rs+++ b/crates/screenpipe-config/src/defaults.rs@@ -198,15 +198,11 @@ pub fn macos_major_version() -> Option<u32> {////// Decision matrix:///-/// | Tier | macOS | Windows/Linux |-/// |------|--------------------|---------------|-/// | High | whisper-turbo-q | parakeet |-/// | Mid | whisper-turbo-q | parakeet |-/// | Low | whisper-tiny | whisper-tiny |-///-/// 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.+/// | Tier | macOS ≥ 26 | macOS < 26 | Windows/Linux |+/// |------|--------------------|--------------------|---------------|+/// | High | parakeet (MLX GPU) | whisper-turbo-q | parakeet |+/// | Mid | whisper-tiny | whisper-tiny | whisper-tiny |+/// | Low | whisper-tiny | whisper-tiny | whisper-tiny |pub fn best_engine_for_platform(tier: DeviceTier) -> &'static str {if tier == DeviceTier::Low || tier == DeviceTier::Mid {return "whisper-tiny";@@ -215,7 +211,14 @@ pub fn best_engine_for_platform(tier: DeviceTier) -> &'static str {// High tier only (≥24GB RAM) — safe for large models#[cfg(target_os = "macos")]{- "whisper-large-v3-turbo-quantized"+ let macos_ok = macos_major_version()+ .map(|v| v >= PARAKEET_MIN_MACOS_MAJOR)+ .unwrap_or(false);+ if macos_ok {+ "parakeet"+ } else {+ "whisper-large-v3-turbo-quantized"+ }}#[cfg(not(target_os = "macos"))]diff --git a/crates/screenpipe-config/src/recording.rs b/crates/screenpipe-config/src/recording.rsindex ac9406577..12347786d 100644--- a/crates/screenpipe-config/src/recording.rs+++ b/crates/screenpipe-config/src/recording.rs@@ -295,11 +295,10 @@ impl Default for RecordingSettings {fn default() -> Self {Self {disable_audio: false,- audio_transcription_engine: if cfg!(target_os = "macos") {- "whisper-large-v3-turbo-quantized".to_string()- } else {- "parakeet".to_string()- },+ audio_transcription_engine: crate::best_engine_for_platform(+ crate::detect_tier(),+ )+ .to_string(),transcription_mode: "batch".to_string(),audio_devices: vec![],use_system_default_audio: true,diff --git a/crates/screenpipe-engine/src/cli/mod.rs b/crates/screenpipe-engine/src/cli/mod.rsindex 35fdfbae7..181a126bb 100644--- a/crates/screenpipe-engine/src/cli/mod.rs+++ b/crates/screenpipe-engine/src/cli/mod.rs@@ -476,6 +476,11 @@ impl RecordArgs {if is_fresh {screenpipe_config::apply_tier_defaults(&mut settings, tier);+ // Restore CLI audio engine — user's explicit -a/--audio-transcription-engine+ // must win over tier defaults+ settings.audio_transcription_engine =+ cli_engine_to_str(&self.audio_transcription_engine).to_string();+// Restore CLI monitor flags — user's explicit --use-all-monitors or -m// must win over tier defaults (fixes #2897)if cli_use_all_monitors {