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
test(inference): update speech tests for local runtime config
Steven Enamakel5b8e7d120c7a
diff --git a/crates/openhuman-core/src/inference/host_runtime/service/speech_tests.rs b/crates/openhuman-core/src/inference/host_runtime/service/speech_tests.rsindex e878328560..a3cfe86b75 100644--- a/crates/openhuman-core/src/inference/host_runtime/service/speech_tests.rs+++ b/crates/openhuman-core/src/inference/host_runtime/service/speech_tests.rs@@ -13,7 +13,7 @@ fn enabled_config(tmp: &tempfile::TempDir) -> Config {async fn tts_rejects_empty_text_before_resolving_piper() {let tmp = tempfile::tempdir().unwrap();let config = enabled_config(&tmp);- let service = LocalAiService::new(&config);+ let service = LocalAiService::new(&crate::inference::local_runtime_config(&config));let error = tts(&service, &config, " \n\t ", None).await.unwrap_err();@@ -24,7 +24,7 @@ async fn tts_rejects_empty_text_before_resolving_piper() {async fn tts_rejects_output_outside_allowed_roots() {let tmp = tempfile::tempdir().unwrap();let config = enabled_config(&tmp);- let service = LocalAiService::new(&config);+ let service = LocalAiService::new(&crate::inference::local_runtime_config(&config));let output = tmp.path().join("outside").join("speech.wav");let error = tts(