Skip to content

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

fix(voice): pass context to always-on start after settings update

Steven Enamakel0dfc19e48747
diff --git a/crates/openhuman-core/src/config/schemas/controllers/voice.rs b/crates/openhuman-core/src/config/schemas/controllers/voice.rs
index 8a68fb8d45..68db644d0c 100644
--- a/crates/openhuman-core/src/config/schemas/controllers/voice.rs
+++ b/crates/openhuman-core/src/config/schemas/controllers/voice.rs
@@ -68,7 +68,7 @@ pub(super) fn handle_update_voice_server_settings(
match ctx.load_config().await {
Ok(config) => {
log::info!("[config][rpc] voice settings saved; applying live always-on state");
- crate::voice::always_on::start_if_enabled(&config).await;
+ crate::voice::always_on::start_if_enabled(&ctx, &config).await;
}
Err(error) => {
log::warn!(