Skip to content

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

feat(voice): add live voice provider abstraction

Steven Enamakel98c69b889809
diff --git a/crates/openhuman-core/src/voice/live/providers.rs b/crates/openhuman-core/src/voice/live/providers.rs
index 7337241e09..a26b56d56b 100644
--- a/crates/openhuman-core/src/voice/live/providers.rs
+++ b/crates/openhuman-core/src/voice/live/providers.rs
@@ -159,11 +159,7 @@ pub(crate) fn live_config(
LIVE_PROVIDER_ELEVENLABS_HOSTED => {
// The hosted agent owns its prompt and its brain (OpenHuman over
// the Custom-LLM relay); only the voice may be overridden.
- live.voice = settings
- .elevenlabs
- .voice_id
- .clone()
- .or_else(|| non_empty(crate::voice::realtime_default_voice_id()));
+ live.voice = non_empty(settings.elevenlabs.voice_id.clone());
}
_ => {}
}