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
style: reformat long lines in sources tests and live voice module
Steven Enamakel2fa315640a2d
diff --git a/crates/openhuman-core/src/tools/sources_tests.rs b/crates/openhuman-core/src/tools/sources_tests.rsindex a9df73e178..5a9520a00c 100644--- a/crates/openhuman-core/src/tools/sources_tests.rs+++ b/crates/openhuman-core/src/tools/sources_tests.rs@@ -163,7 +163,12 @@ fn anchored_sources_sit_where_the_catalogue_always_listed_them() {unregister_tool_source(id);}- let pos = |name: &str| names.iter().position(|n| n == name).unwrap_or_else(|| panic!("{name} missing"));+ let pos = |name: &str| {+ names+ .iter()+ .position(|n| n == name)+ .unwrap_or_else(|| panic!("{name} missing"))+ };// Registration order within an anchor.assert_eq!(pos("anchor_fake_search_b"), pos("anchor_fake_search_a") + 1);// After-search sources precede the image-info built-in registered afterdiff --git a/crates/openhuman-tinyhumans/src/voice/live.rs b/crates/openhuman-tinyhumans/src/voice/live.rsindex db6a99e24a..737bb37ba0 100644--- a/crates/openhuman-tinyhumans/src/voice/live.rs+++ b/crates/openhuman-tinyhumans/src/voice/live.rs@@ -9,8 +9,9 @@use openhuman_embed::__host::config::Config;use openhuman_embed::__host::security::credentials::session_support::resolve_backend_credential;use openhuman_embed::__host::voice_registry::{- register_live_provider, LiveProviderEntry, LiveProviderKind, LiveProviderPlacement, LiveVoiceError, PreparedProvider,- GEMINI_LANGUAGES, GEMINI_VOICES, LIVE_PROVIDER_ELEVENLABS_HOSTED, LIVE_PROVIDER_GEMINI_HOSTED,+ register_live_provider, LiveProviderEntry, LiveProviderKind, LiveProviderPlacement,+ LiveVoiceError, PreparedProvider, GEMINI_LANGUAGES, GEMINI_VOICES,+ LIVE_PROVIDER_ELEVENLABS_HOSTED, LIVE_PROVIDER_GEMINI_HOSTED,};use reqwest::Method;use serde_json::{json, Value};