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(web_chat): create isolated files directory in ingress test
Steven Enamakel9c2181d334fc
diff --git a/crates/openhuman-core/src/web_chat/web_tests_start_chat_ingress_tests.rs b/crates/openhuman-core/src/web_chat/web_tests_start_chat_ingress_tests.rsindex 8acf3c7cd5..f931452d45 100644--- a/crates/openhuman-core/src/web_chat/web_tests_start_chat_ingress_tests.rs+++ b/crates/openhuman-core/src/web_chat/web_tests_start_chat_ingress_tests.rs@@ -16,15 +16,17 @@ async fn ptt_source_turn_completes_without_publishing_a_voice_event() {let workspace_dir = temp.path().join("workspace");let action_dir = temp.path().join("projects");let config_path = temp.path().join("config/config.toml");+ let files_dir = temp.path().join("files");std::fs::create_dir_all(&workspace_dir).expect("create isolated workspace");std::fs::create_dir_all(&action_dir).expect("create isolated action directory");+ std::fs::create_dir_all(&files_dir).expect("create isolated files directory");std::fs::create_dir_all(config_path.parent().unwrap()).expect("create isolated config dir");let mut config = crate::config::Config::default();config.workspace_dir = workspace_dir;config.action_dir = action_dir.clone();config.action_dir_override = Some(action_dir.clone());config.config_path = config_path;- config.files_dir_override = Some(temp.path().join("files"));+ config.files_dir_override = Some(files_dir);let core_context = crate::core::runtime::CoreContext::for_test_with_config(crate::core::runtime::DomainSet::full(),config,