The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
fix(voice): pass ambient dispatch context when building live session host
Steven Enamakel571fa2ab3aaa
diff --git a/crates/openhuman-core/src/voice/live/session.rs b/crates/openhuman-core/src/voice/live/session.rsindex d6783188bb..d5cc0fce00 100644--- a/crates/openhuman-core/src/voice/live/session.rs+++ b/crates/openhuman-core/src/voice/live/session.rs@@ -134,8 +134,12 @@ pub(crate) async fn start("[voice-live] starting session");- let mut host = OpenHumanSessionHost::from_config_for_agent(&config, LIVE_AGENT_ID)- .map_err(|e| LiveVoiceError::internal(format!("agent build failed: {e}")))?;+ let mut host = OpenHumanSessionHost::from_config_for_agent(+ &crate::core::runtime::DispatchCtx::ambient(),+ &config,+ LIVE_AGENT_ID,+ )+ .map_err(|e| LiveVoiceError::internal(format!("agent build failed: {e}")))?;host.set_event_context(format!("voice_live_{session_id}"), "voice");host.set_thread_id(Some(&thread_id));let harness = assemble_live_tool_harness(host.live_tool_surface());