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(memory): use persistent storage in test fixtures
Steven Enamakela2a229f824f1
diff --git a/crates/openhuman-core/src/channels/controllers/ops/connect/memory_tests.rs b/crates/openhuman-core/src/channels/controllers/ops/connect/memory_tests.rsindex 7ce2d79e8f..477c0ef0f6 100644--- a/crates/openhuman-core/src/channels/controllers/ops/connect/memory_tests.rs+++ b/crates/openhuman-core/src/channels/controllers/ops/connect/memory_tests.rs@@ -48,6 +48,8 @@ async fn store_channel_thread(channel: &str,message_id: &str,) -> String {+ #[cfg(feature = "storage-sqlite")]+ crate::storage::local::use_persistent_default_for_test(workspace);let params = crate::channels::providers::relay::RelayInboundParams::new(channel,format!("chat-{message_id}"),diff --git a/crates/openhuman-core/src/memory/test_fixtures.rs b/crates/openhuman-core/src/memory/test_fixtures.rsindex 985f6a0332..6f8a957448 100644--- a/crates/openhuman-core/src/memory/test_fixtures.rs+++ b/crates/openhuman-core/src/memory/test_fixtures.rs@@ -14,6 +14,8 @@ use crate::config::Config;pub(crate) fn config_in(tmp: &tempfile::TempDir) -> Config {let workspace = tmp.path().join("workspace");std::fs::create_dir_all(&workspace).expect("workspace dir");+ #[cfg(feature = "storage-sqlite")]+ crate::storage::local::use_persistent_default_for_test(&workspace);Config {workspace_dir: workspace.clone(),action_dir: workspace,