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
feat(channels): route web chat tasks through host adapters
Steven Enamakel65f157e1b183
diff --git a/crates/openhuman-core/src/channels/host/adapters.rs b/crates/openhuman-core/src/channels/host/adapters.rsindex 7819c07f11..a7dbe35444 100644--- a/crates/openhuman-core/src/channels/host/adapters.rs+++ b/crates/openhuman-core/src/channels/host/adapters.rs@@ -142,7 +142,6 @@ impl SpeechSynthesizer for VoiceSynthesizer {// under the `cloud` slug; with none registered this is an error.#[cfg(feature = "voice")]{- use crate::voice::TtsProvider as _;let voice = request.voice.as_deref().unwrap_or_default();let provider = crate::voice::create_tts_provider("cloud", voice, &self.config)?;let outcome = providerdiff --git a/crates/openhuman-core/src/web_chat/run_task.rs b/crates/openhuman-core/src/web_chat/run_task.rsindex dc0ace8c76..bb11ba65c3 100644--- a/crates/openhuman-core/src/web_chat/run_task.rs+++ b/crates/openhuman-core/src/web_chat/run_task.rs@@ -292,8 +292,6 @@ pub(crate) async fn run_chat_task(let speak_reply = matches!(metadata.speak_reply, Some(true));let trimmed_response = task_result.full_response.trim();if speak_reply && !trimmed_response.is_empty() {- #[cfg(feature = "voice")]- use crate::voice::TtsProvider as _;// Resolved through the voice registry by the hosted slug: the// provider is registered by the hosted-backend layer, so a core// with none registered logs the error and skips the spoken reply.