Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(voice): prevent panic when always-on voice mode is disabled

Steven Enamakele456ffb240db
diff --git a/crates/openhuman-core/src/voice/always_on.rs b/crates/openhuman-core/src/voice/always_on.rs
index 4094ae8423..9053625ab8 100644
--- a/crates/openhuman-core/src/voice/always_on.rs
+++ b/crates/openhuman-core/src/voice/always_on.rs
@@ -39,7 +39,9 @@ mod transcribe;
pub use processor::{start_if_enabled, stop};
-use processor::{notch_status, PAUSED};
+use processor::notch_status;
+#[cfg(target_os = "macos")]
+use processor::PAUSED;
#[cfg(test)]
use crate::modules::voice as tinyvoice;