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(runtime): use test helper for context construction
Steven Enamakel626542e279a2
diff --git a/crates/openhuman-core/src/core/runtime/context_tests.rs b/crates/openhuman-core/src/core/runtime/context_tests.rsindex c00132eb9c..256ad5ef55 100644--- a/crates/openhuman-core/src/core/runtime/context_tests.rs+++ b/crates/openhuman-core/src/core/runtime/context_tests.rs@@ -39,25 +39,7 @@ fn ctx(dir: &str) -> Arc<CoreContext> {// configures boot and watches its turns run somewhere else entirely.fn ctx_with_config(config: crate::config::Config) -> Arc<CoreContext> {- Arc::new(CoreContext {- host_kind: HostKind::Cli,- workspace_binding: RwLock::new(Arc::new(RwLock::new(WorkspaceBinding {- workspace_dir: Some(config.workspace_dir.clone()),- }))),- domains: crate::core::runtime::DomainSet::full(),- tool_groups: Default::default(),- components: Default::default(),- embedder_config: Some(config),- latest_embedder_config: None,- user_skill_roots: true,- extensions: Default::default(),- turn_origin: None,- channel_thread: None,- session_agent: None,- profile: None,- agent: Default::default(),- bare: false,- })+ CoreContext::for_test_with_config(crate::core::runtime::DomainSet::full(), config)}#[test]