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(session_host): simplify agent construction in scope test
Steven Enamakelc3cc4d968a80
diff --git a/crates/openhuman-core/src/agent/session_host/builder/builder_tests.rs b/crates/openhuman-core/src/agent/session_host/builder/builder_tests.rsindex 11cc501e1e..2aac33b5fe 100644--- a/crates/openhuman-core/src/agent/session_host/builder/builder_tests.rs+++ b/crates/openhuman-core/src/agent/session_host/builder/builder_tests.rs@@ -343,13 +343,12 @@ async fn an_empty_named_scope_advertises_no_tools_at_all() {let tmp = tempfile::TempDir::new().unwrap();let config = test_config(&tmp);- let result = OpenHumanSessionHost::from_config_for_agent(+ let agent = OpenHumanSessionHost::from_config_for_agent(&crate::core::runtime::DispatchCtx::ambient(),&config,"summarizer",- );- eprintln!("from_config_for_agent error: {:?}", result.as_ref().err());- let agent = result.expect("summarizer is a shipped agent definition");+ )+ .expect("summarizer is a shipped agent definition");let visible = &agent.visible_tool_names;let real: Vec<&String> = visible