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
docs: replace hardcoded backend URLs with generic descriptions
Steven Enamakele3589c8c861d
diff --git a/crates/openhuman-core/src/config/schema/cloud_providers.rs b/crates/openhuman-core/src/config/schema/cloud_providers.rsindex 9b502c73c2..fca0bfc8d5 100644--- a/crates/openhuman-core/src/config/schema/cloud_providers.rs+++ b/crates/openhuman-core/src/config/schema/cloud_providers.rs@@ -140,7 +140,7 @@ pub fn endpoint_host(endpoint: &str) -> Option<String> {/// OpenHuman **backend** base for team/billing/auth calls. A BYO user who/// points `api_url` at a provider's canonical base (`https://openrouter.ai/api/v1`)/// would otherwise have every backend domain call routed to the inference host-/// → 400/404 (TAURI-RUST-HW1: 4932 `GET /teams/me/usage` 400s from `openrouter.ai`).+/// → 400/404 (TAURI-RUST-HW1: 4932 team-usage 400s from `openrouter.ai`)./// The backend-URL resolver uses this to treat such hosts as non-backend and/// fall back to the default backend chain — the cloud analogue of the local-AI/// guard that fixed the Ollama case (OPENHUMAN-TAURI-51/-80/-7Z).diff --git a/crates/openhuman-core/src/config/schema/tools/integrations.rs b/crates/openhuman-core/src/config/schema/tools/integrations.rsindex 877ec2371a..896b70046d 100644--- a/crates/openhuman-core/src/config/schema/tools/integrations.rs+++ b/crates/openhuman-core/src/config/schema/tools/integrations.rs@@ -8,7 +8,7 @@ use serde::{Deserialize, Serialize};////// `"backend"` (default) — every Composio call (toolkits, connections,/// authorize, tools, execute, triggers, …) is proxied through the-/// OpenHuman backend (`api.tinyhumans.ai/agent-integrations/composio/*`).+/// OpenHuman backend (its composio routes)./// The backend owns the Composio API key, allowlist, billing/margin, and/// HMAC-verified trigger webhooks fanned out over socket.io.///diff --git a/crates/openhuman-core/src/core/legacy_aliases.rs b/crates/openhuman-core/src/core/legacy_aliases.rsindex fd1abaea52..e672f22c51 100644--- a/crates/openhuman-core/src/core/legacy_aliases.rs+++ b/crates/openhuman-core/src/core/legacy_aliases.rs@@ -162,7 +162,7 @@ const LEGACY_ALIASES: &[(&str, &str)] = &[("health.status", "openhuman.health_snapshot"),// `openhuman.system_info` was used by older clients / SDK callers before// the method was namespaced under `health` as `openhuman.health_system_info`.- // Sentry CORE-RUST-G0 — https://sentry.tinyhumans.ai/organizations/tinyhumans/issues/6340/+ // Sentry CORE-RUST-G0 (issue 6340)("openhuman.system_info", "openhuman.health_system_info"),("openhuman.local_ai_test_connection",diff --git a/crates/openhuman-core/src/core/observability.rs b/crates/openhuman-core/src/core/observability.rsindex 07a75efd48..84d5f38dff 100644--- a/crates/openhuman-core/src/core/observability.rs+++ b/crates/openhuman-core/src/core/observability.rs@@ -110,7 +110,7 @@ pub enum ExpectedErrorKind {SessionExpired,/// Boot-window failure where the in-process core HTTP listener/// (`127.0.0.1:<port>`) is not yet accepting connections, so a sibling- /// component (frontend RPC relay, agent-integrations client) sees a TCP+ /// component (frontend RPC relay, integrations client) sees a TCP/// connect refused. The condition self-resolves once the core finishes/// binding — typically within a few seconds of app launch — and no retry/// on the calling side can do better than waiting it out.@@ -702,7 +702,7 @@ pub fn expected_error_kind(message: &str) -> Option<ExpectedErrorKind> {/// (codex CR on #3911). Both arms anchor on local-emit fragments rather than a/// bare `contains("database or disk is full")` so the silencer does not match a/// non-2xx backend response body whose payload happens to mention the phrase-/// (e.g. an `api.tinyhumans.ai` 5xx whose server-side SQLite is full). Non-2xx+/// (e.g. a managed-backend 5xx whose server-side SQLite is full). Non-2xx/// backend bodies are framed by/// `integrations::client::post` / `composio::client` as `"Backend returned/// <status> <reason> for <METHOD> <url>: <detail>"` — an operator-actionable@@ -1077,7 +1077,7 @@ pub fn is_local_provider_unreachable_message(text: &str) -> bool {}/// Detect the in-process-core boot-window shape: a sibling component-/// (frontend RPC relay, agent-integrations / composio HTTP clients) tried to+/// (frontend RPC relay, integrations / composio HTTP clients) tried to/// reach the embedded core's `127.0.0.1:<port>` listener before it finished/// binding, so the kernel returned `Connection refused`. The condition/// self-resolves once startup completes — Sentry has no remediation path.@@ -1116,7 +1116,7 @@ pub fn is_local_provider_unreachable_message(text: &str) -> bool {/// and the canonical body shape:////// ```text-/// error sending request for url (http://127.0.0.1:18474/agent-integrations/composio/connections)+/// error sending request for url (http://127.0.0.1:18474/integrations/composio/connections)/// → client error (Connect) → tcp connect error → Connection refused (os error 61)/// ```///@@ -1263,7 +1263,7 @@ fn is_ollama_user_config_rejection(lower: &str) -> bool {/// can't reach the server at all.////// These are user-environment problems — VPN drop, captive portal, ISP-level-/// block (OPENHUMAN-TAURI-32: user in RU couldn't reach `api.tinyhumans.ai`),+/// block (OPENHUMAN-TAURI-32: user in RU couldn't reach the managed backend),/// firewall — that no amount of retry / fallback on our side can resolve./// Sentry has no signal to act on (no status, no trace, no payload), so each/// occurrence is pure noise. Classify them as expected so the report site@@ -1477,7 +1477,7 @@ fn is_upstream_edge_block_message(lower: &str) -> bool {/// [`crate::integrations::client::IntegrationClient::post`] / `get`/// and [`crate::integrations::composio::client::ComposioClient`] is:/// `"Backend returned <status> <reason> for <METHOD> <url>: <detail>"` — e.g.-/// `"Backend returned 400 Bad Request for POST https://api.tinyhumans.ai/agent-integrations/composio/authorize: Composio authorization failed: 400 …"`+/// `"Backend returned 400 Bad Request for POST https://api.example.com/integrations/composio/authorize: Composio authorization failed: 400 …"`/// (OPENHUMAN-TAURI-BC: user submitted SharePoint authorize without filling in/// the required Tenant Name field). The backend correctly returned a 4xx; the/// UI already surfaces the structured error to the user via toast — Sentry has@@ -1682,7 +1682,7 @@ fn is_provider_user_state_message(lower: &str) -> bool {}// TAURI-RUST-34H — composio backend endpoint (e.g.- // `/agent-integrations/composio/connections`) wraps an upstream+ // `/integrations/composio/connections`) wraps an upstream// Cloudflare anti-bot challenge as `Backend returned 500 Internal// Server Error … 403 <!DOCTYPE html>…<title>Just a moment...</title>…`.// The CF interstitial is keyed by the user's network reputation /@@ -2975,7 +2975,7 @@ pub fn is_transient_message_failure(msg: &str) -> bool {|| contains_transient_transport_phrase(&lower)}-/// Sentinel prefix stamped on a `/teams/me/usage` probe error that the+/// Sentinel prefix stamped on a team-usage probe error that the/// failure-backoff in `crate::integrations::client::budget_gate` short-circuited — i.e. an/// already-reported repeat within the backoff window. The FIRST failure of a/// streak propagates its real error string and reports normally; only thediff --git a/crates/openhuman-core/src/flows/tinyflows/caps/ops.rs b/crates/openhuman-core/src/flows/tinyflows/caps/ops.rsindex 825befc7e3..1d2fe368ef 100644--- a/crates/openhuman-core/src/flows/tinyflows/caps/ops.rs+++ b/crates/openhuman-core/src/flows/tinyflows/caps/ops.rs@@ -363,7 +363,7 @@ pub(crate) async fn resolve_composio_account(/// - **connection_ref**: `conn` (`"composio:<toolkit>:<connection_id>"`) is/// parsed and forwarded in both modes: Direct passes it to Composio's/// execute endpoint, while Backend includes it as `connectionId` in the-/// authenticated `/agent-integrations/composio/execute` request. Omitting a+/// authenticated composio execute request. Omitting a/// ref deliberately keeps the ambient-account behavior. A supplied but/// stale/foreign id is still forwarded exactly so the provider rejects it;/// it must never degrade to the ambient account (fixes #5751 / E-m3).diff --git a/crates/openhuman-core/src/flows/tinyflows/langfuse_export.rs b/crates/openhuman-core/src/flows/tinyflows/langfuse_export.rsindex 1115dd7b3b..20752404ad 100644--- a/crates/openhuman-core/src/flows/tinyflows/langfuse_export.rs+++ b/crates/openhuman-core/src/flows/tinyflows/langfuse_export.rs@@ -4,8 +4,8 @@//! this module the run's durable [`GraphObservation`] slice (captured by the//! per-run in-memory journal that `tinyflows`' journaled entry points fill)//! and it exports the run as one Langfuse trace via the backend's Langfuse-//! OTLP proxy route, `/telemetry/langfuse/otel/v1/traces` (Langfuse v4; the-//! legacy `/telemetry/langfuse/ingestion` batch path is not used for traces).+//! OTLP proxy route (Langfuse v4; the legacy batch ingestion path is not used+//! for traces).//!//! The trace is built by `tinyagents`' [`GraphLangfuseExporter`], which turns//! each superstep and node into a timed span and stamps the Langfuse **Agent@@ -40,7 +40,7 @@ use tinyflows_catalog::FlowRunTrigger;const LOG_TARGET: &str = "flows::langfuse";/// Backend proxy route for legacy Langfuse ingestion (relative to the backend/// origin). Only the client's base: [`LangfuseClient::otlp_endpoint`] derives-/// the OTLP route `/telemetry/langfuse/otel/v1/traces` beside it, which is+/// the OTLP route beside it, which is/// where flow traces go. The backend authenticates the session JWT, injects/// the Langfuse project keys, and forwards to Langfuse's/// `/api/public/otel/v1/traces`.diff --git a/crates/openhuman-core/src/inference/embedding_host/mod.rs b/crates/openhuman-core/src/inference/embedding_host/mod.rsindex 4ea7458bbb..ff86e620f8 100644--- a/crates/openhuman-core/src/inference/embedding_host/mod.rs+++ b/crates/openhuman-core/src/inference/embedding_host/mod.rs@@ -3,8 +3,8 @@//! Converts text into numerical vectors for semantic search (tool discovery,//! voice, the `embeddings` RPC). Providers://!-//! - **Managed** (default): Routes through the OpenHuman backend's-//! `POST /openai/v1/embeddings` (Voyage-backed). The recommended path —+//! - **Managed** (default): Routes through the managed+//! backend's OpenAI-compatible embeddings endpoint (Voyage-backed). The recommended path —//! works on a fresh install without requiring a local Ollama daemon.//! - **Voyage**: Direct Voyage AI API with the user's own key.//! - **OpenAI**: Cloud-based embeddings via the OpenAI API.diff --git a/crates/openhuman-core/src/integrations/composio/action_tool.rs b/crates/openhuman-core/src/integrations/composio/action_tool.rsindex fea96280a0..2a1dd75f9e 100644--- a/crates/openhuman-core/src/integrations/composio/action_tool.rs+++ b/crates/openhuman-core/src/integrations/composio/action_tool.rs@@ -51,7 +51,7 @@ pub struct ComposioActionTool {/// the backend-bound handle at sub-agent spawn time. Toggling/// `composio.mode = "direct"` mid-session invalidated other caches/// but left these per-action tools still routing through- /// `staging-api.tinyhumans.ai/agent-integrations/composio/execute`+ /// the managed backend's composio execute route/// — silently bypassing the direct-mode user's personal Composio/// tenant. Resolving the client per call via/// [`resolve_composio_route`] keeps dispatch in lockstep with thediff --git a/crates/openhuman-core/src/integrations/composio/bus/trigger_subscriber.rs b/crates/openhuman-core/src/integrations/composio/bus/trigger_subscriber.rsindex d5a5794414..28a27ca502 100644--- a/crates/openhuman-core/src/integrations/composio/bus/trigger_subscriber.rs+++ b/crates/openhuman-core/src/integrations/composio/bus/trigger_subscriber.rs@@ -67,7 +67,7 @@ impl EventHandler<DomainEvent> for ComposioTriggerSubscriber {// [composio-direct] Direct-mode trigger gate.//// Inbound `composio:trigger` events ride the backend socket- // (`wss://api.tinyhumans.ai`) which only fans out events from+ // (the managed backend socket) which only fans out events from// the tinyhumans Composio tenant. When the user has switched// to direct mode, that tenant is no longer their active source// of truth — connections live on `backend.composio.dev` underdiff --git a/crates/openhuman-core/src/integrations/composio/tools.rs b/crates/openhuman-core/src/integrations/composio/tools.rsindex 1fee416bd0..c0758b302e 100644--- a/crates/openhuman-core/src/integrations/composio/tools.rs+++ b/crates/openhuman-core/src/integrations/composio/tools.rs@@ -1,5 +1,5 @@-//! Agent-facing tools that proxy through the openhuman backend's-//! `/agent-integrations/composio/*` routes.+//! Agent-facing tools that proxy through the managed backend's+//! composio routes.//!//! These expose Composio capabilities to the autonomous agent loop//! (discovery + execution) and to the CLI/RPC surface via the normaldiff --git a/crates/openhuman-core/src/integrations/composio/tools/authorize.rs b/crates/openhuman-core/src/integrations/composio/tools/authorize.rsindex ed6d6b8c23..5e819434fa 100644--- a/crates/openhuman-core/src/integrations/composio/tools/authorize.rs+++ b/crates/openhuman-core/src/integrations/composio/tools/authorize.rs@@ -96,7 +96,7 @@ impl ComposioAuthorizeTool {// Resolve per call so a live mode toggle is honoured. In// direct mode the OAuth handoff is performed by the user's// personal Composio tenant via app.composio.dev rather than- // the backend's `/agent-integrations/composio/authorize`+ // the backend's composio authorize// route, so we refuse this verb explicitly instead of// silently routing through the wrong tenant.let live_config = match live_composio_config(self.config.as_ref()).await {diff --git a/crates/openhuman-core/src/integrations/composio/tools/execute.rs b/crates/openhuman-core/src/integrations/composio/tools/execute.rsindex e182bfdb5f..63ee5fb0e6 100644--- a/crates/openhuman-core/src/integrations/composio/tools/execute.rs+++ b/crates/openhuman-core/src/integrations/composio/tools/execute.rs@@ -34,7 +34,7 @@ pub struct ComposioExecuteTool {/// `composio.mode = "direct"` mid-session the/// `ComposioConfigChanged` event invalidated caches, but this tool's/// pre-baked client kept routing executions through- /// `staging-api.tinyhumans.ai/agent-integrations/composio/execute`+ /// the managed backend's composio execute route/// — silently bypassing the direct-mode user's personal Composio/// tenant. Resolving the route per call in/// the connector module keeps dispatch in lockstep with thediff --git a/crates/openhuman-core/src/integrations/composio/types.rs b/crates/openhuman-core/src/integrations/composio/types.rsindex 869db77967..a29c1812b0 100644--- a/crates/openhuman-core/src/integrations/composio/types.rs+++ b/crates/openhuman-core/src/integrations/composio/types.rs@@ -12,8 +12,8 @@//! stops needing them at all.//!//! **Their serde form is a wire contract**, not an implementation detail: it-//! mirrors the backend's response envelopes under-//! `/agent-integrations/composio/*`, and a field renamed on one side fails at+//! mirrors the backend's response envelopes for+//! its composio routes, and a field renamed on one side fails at//! runtime with a decode error rather than at compile time. The contract crate//! pins every one of them in a test for that reason.diff --git a/crates/openhuman-core/src/integrations/mod.rs b/crates/openhuman-core/src/integrations/mod.rsindex 9e13338af6..1716b9e985 100644--- a/crates/openhuman-core/src/integrations/mod.rs+++ b/crates/openhuman-core/src/integrations/mod.rs@@ -1,7 +1,7 @@//! Agent integrations that run through the core itself.//!//! Composio connectors ([`composio`]) and task sources ([`task_sources`]) live-//! here. The hosted `/agent-integrations/*` client, its managed tools (Google+//! here. The hosted integrations client, its managed tools (Google//! Places, stock data, file storage, media generation) and the web3 crypto//! client are not part of the core: a host that has such a service plugs them//! in through the generic registries (tool sources, the Composio routediff --git a/crates/openhuman-core/src/platform/about_app/catalog_conversation_intelligence.rs b/crates/openhuman-core/src/platform/about_app/catalog_conversation_intelligence.rsindex 285dc5a8da..03e77b98ee 100644--- a/crates/openhuman-core/src/platform/about_app/catalog_conversation_intelligence.rs+++ b/crates/openhuman-core/src/platform/about_app/catalog_conversation_intelligence.rs@@ -509,7 +509,7 @@ Capability {category: CapabilityCategory::Intelligence,description:"Pick which embedding provider drives semantic search across your memory: \- managed cloud (default, Voyage-backed via api.tinyhumans.ai), OpenAI, \+ managed cloud (default, Voyage-backed), OpenAI, \Cohere, local Ollama, or a custom OpenAI-compatible endpoint. API keys \are stored encrypted via the local keyring under `embeddings:<slug>`; \model name and embedding dimensions are tunable per provider. A \diff --git a/crates/openhuman-core/src/platform/about_app/catalog_workflows_automation.rs b/crates/openhuman-core/src/platform/about_app/catalog_workflows_automation.rsindex 9b43f2c42d..780b298be4 100644--- a/crates/openhuman-core/src/platform/about_app/catalog_workflows_automation.rs+++ b/crates/openhuman-core/src/platform/about_app/catalog_workflows_automation.rs@@ -145,7 +145,7 @@ Capability {category: CapabilityCategory::Workflows,description:"Composio real-time trigger webhooks (Gmail new-message, Slack new-message, …) \- currently arrive over wss://api.tinyhumans.ai/socket.io and require backend mode. \+ currently arrive over the managed backend socket and require backend mode. \Direct-mode users get synchronous tool execution but not async trigger push in \this release.",how_to: "Switch to Backend mode to receive triggers, or wait for the direct trigger sink follow-up",diff --git a/crates/openhuman-core/src/platform/socket/url.rs b/crates/openhuman-core/src/platform/socket/url.rsindex c1e1e11784..398c3ff132 100644--- a/crates/openhuman-core/src/platform/socket/url.rs+++ b/crates/openhuman-core/src/platform/socket/url.rs@@ -21,7 +21,7 @@ pub(super) fn is_safe_socket_endpoint(endpoint: &str) -> bool {}}-/// Build a Socket.IO WebSocket URL from an HTTP(S) API base (e.g. `https://api.tinyhumans.ai`).+/// Build a Socket.IO WebSocket URL from an HTTP(S) API base (e.g. `https://api.example.com`).pub fn websocket_url(http_or_https_base: &str) -> String {let Ok(mut url) = Url::parse(http_or_https_base) else {return http_or_https_base.to_string();diff --git a/crates/openhuman-core/src/security/credentials/api_key.rs b/crates/openhuman-core/src/security/credentials/api_key.rsindex 4dcae31aee..91054274ee 100644--- a/crates/openhuman-core/src/security/credentials/api_key.rs+++ b/crates/openhuman-core/src/security/credentials/api_key.rs@@ -5,7 +5,7 @@//! no `exp` to track. The host hands the core one API key at runtime build//! time and every managed-backend request authenticates with it://!-//! * managed inference (`{api_url}/openai/v1`) sends it as+//! * managed inference (`{api_url}` + the inference path) sends it as//! `Authorization: Bearer <key>` — the OpenAI-compatible endpoint takes a//! bearer, and `OpenHumanBackendModel::resolve_bearer` prefers this profile//! over the app session;diff --git a/crates/openhuman-core/src/security/credentials/jwt.rs b/crates/openhuman-core/src/security/credentials/jwt.rsindex 19dc58cbd2..524eb1b7c0 100644--- a/crates/openhuman-core/src/security/credentials/jwt.rs+++ b/crates/openhuman-core/src/security/credentials/jwt.rs@@ -61,7 +61,7 @@ pub use crate::security::credentials::{APP_SESSION_PROVIDER, DEFAULT_AUTH_PROFIL/// The backend app-session token is a JWT but is stored bare — the client/// historically recorded `expires_at: None` and so blindly sent requests with a/// token it could have known was dead, generating doomed 401s (Sentry-/// TAURI-RUST-8WY `/teams/me/usage`, 8WZ `/payments/stripe/currentPlan`; #3297).+/// TAURI-RUST-8WY (team usage), 8WZ (current plan); #3297)./// Decoding `exp` at store time lets `require_live_session_token` reject an/// expired token locally instead of round-tripping to a guaranteed 401.///diff --git a/crates/openhuman-core/src/security/credentials/ops/composio.rs b/crates/openhuman-core/src/security/credentials/ops/composio.rsindex 9d0a64d9bd..8f0bf3b751 100644--- a/crates/openhuman-core/src/security/credentials/ops/composio.rs+++ b/crates/openhuman-core/src/security/credentials/ops/composio.rs@@ -11,7 +11,7 @@ use crate::security::credentials::{AuthService, DEFAULT_AUTH_PROFILE_NAME};////// Parallel to [`crate::security::credentials::APP_SESSION_PROVIDER`] but/// completely independent — the app-session JWT authenticates the user-/// against `api.tinyhumans.ai`, while this slot authenticates the user+/// against the managed backend, while this slot authenticates the user/// against `backend.composio.dev`. Stored via the same/// [`super::super::profiles::AuthProfilesStore`] backend (encrypted on disk/// when `secrets.encrypt = true`).diff --git a/crates/openhuman-core/src/security/credentials/session_support.rs b/crates/openhuman-core/src/security/credentials/session_support.rsindex 0a30baab12..46e1ee64d4 100644--- a/crates/openhuman-core/src/security/credentials/session_support.rs+++ b/crates/openhuman-core/src/security/credentials/session_support.rs@@ -346,7 +346,7 @@ pub fn classify_session_token(/// **once** (so the credentials subscriber clears state and the UI re-auths,/// exactly as on a real network 401) and returns the `SESSION_EXPIRED`/// sentinel. The doomed 401 is never sent — this is the #3297 RCA that stops-/// the TAURI-RUST-8WY (`/teams/me/usage`) / 8WZ (`/payments/stripe/currentPlan`)+/// the TAURI-RUST-8WY (team usage) / 8WZ (current plan)/// flood at its source instead of demoting it after the fact./// - token with no recorded expiry (local offline session / `exp`-less JWT) →/// presence-only check; the `flatten_authed_error` 401 net still covers adiff --git a/crates/openhuman-core/src/util/url.rs b/crates/openhuman-core/src/util/url.rsindex 3b01602d8e..f997f93aae 100644--- a/crates/openhuman-core/src/util/url.rs+++ b/crates/openhuman-core/src/util/url.rs@@ -13,20 +13,20 @@ pub fn normalize_api_base_url(url: &str) -> String {}/// Like [`normalize_api_base_url`] but also **strips any inference-style path**-/// (e.g. `/openai/v1/chat/completions`) so the result is always a bare host+/// (e.g. `/v1/chat/completions`) so the result is always a bare host/// root suitable as a backend base.////// # Why this exists////// Users (and CI configs) sometimes set `BACKEND_URL` or `config.api_url` to/// the full inference endpoint. Backend callers append domain-specific paths-/// (`/auth/me`, `/agent-integrations/…`) which then land on-/// `.../openai/v1/chat/completions/auth/me` — an obvious 404.+/// (`/auth/me`, `/integrations/…`) which then land on+/// `.../v1/chat/completions/auth/me` — an obvious 404.////// # Scheme-less fallback////// `option_env!`-baked values occasionally omit the scheme-/// (e.g. `api.tinyhumans.ai/openai/v1/chat/completions`). We retry with an+/// (e.g. `api.example.com/v1/chat/completions`). We retry with an/// `https://` prefix so the path can still be stripped before the value is/// used as a base. Without this, a scheme-less inference path survived into/// every backend call — Sentry `OPENHUMAN-TAURI-H6 / -HN`, issue #2075.diff --git a/crates/openhuman-core/src/voice/factory/entry.rs b/crates/openhuman-core/src/voice/factory/entry.rsindex c050a0a68d..4ed75bb8da 100644--- a/crates/openhuman-core/src/voice/factory/entry.rs+++ b/crates/openhuman-core/src/voice/factory/entry.rs@@ -87,7 +87,7 @@ pub fn create_stt_provider(/// Piper branch. This function previously coerced an empty `voice` to that/// constant before the match, which handed `en_US-lessac-medium` to every/// provider: the cloud branch forwarded it as `voice_id` to the backend-/// ElevenLabs proxy (`POST /openai/v1/audio/speech`), which rejects it with+/// ElevenLabs speech proxy, which rejects it with/// **400 Bad Request** — breaking the Settings → Voice "Test" button and every/// cloud TTS reply (#5355). It also pre-empted each external provider's/// configured `default_tts_voice`, since the Piper id was never empty by thediff --git a/crates/openhuman-core/src/voice/realtime_harness.rs b/crates/openhuman-core/src/voice/realtime_harness.rsindex 18e26b790a..ff3f65f5f3 100644--- a/crates/openhuman-core/src/voice/realtime_harness.rs+++ b/crates/openhuman-core/src/voice/realtime_harness.rs@@ -2,7 +2,7 @@//!//! The backend relays each turn of an ElevenLabs Agents session down the socket//! as `voice:harness { correlationId, messages }` (see the backend's-//! `/voice-agent/chat/completions` Custom-LLM relay). We run the **local+//! voice-agent Custom-LLM relay). We run the **local//! orchestrator agent** — the same brain the chat UI and meet bot use, with the//! user's tools/memory/MCP — and stream the reply back up as//! `voice:harness:delta` / `voice:harness:done` (or `:error`). This is what