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(speech): use explicit config for forbidden path check
Steven Enamakel758186ea681f
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 665a495999..9b9e68fc3e 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@@ -121,7 +121,10 @@ async fn tts_output_path_rejects_final_component_symlink() {#[tokio::test]async fn tts_output_path_keeps_always_forbidden_paths_blocked() {let tmp = tempfile::tempdir().unwrap();- let config = enabled_config(&tmp);+ let mut config = Config::default();+ config.workspace_dir = std::path::PathBuf::from("/etc");+ config.config_path = tmp.path().join("config.toml");+ config.local_ai.runtime_enabled = true;let runtime = crate::inference::local_runtime_config(&config);let error = validated_tts_output_path(&config, &runtime, Some("/etc/openhuman-tts-test.wav"))