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
chore: files changed crates/openhuman-core/src/agent/learning/linkedin_enrichment_tests.rs,crates/op
Steven Enamakel7f80b5eda310
diff --git a/crates/openhuman-core/src/agent/learning/linkedin_enrichment_tests.rs b/crates/openhuman-core/src/agent/learning/linkedin_enrichment_tests.rsindex 6630b68805..93101f119e 100644--- a/crates/openhuman-core/src/agent/learning/linkedin_enrichment_tests.rs+++ b/crates/openhuman-core/src/agent/learning/linkedin_enrichment_tests.rs@@ -84,15 +84,16 @@ async fn search_gmail_for_linkedin_errors_when_factory_cannot_build_client() {let tmp = tempfile::tempdir().expect("tempdir");let mut config = crate::config::Config::default();config.config_path = tmp.path().join("config.toml");- // Default mode = backend, no session token. The factory must error- // with a backend-session message — and `search_gmail_for_linkedin`- // must surface that as an anyhow error rather than panicking. We- // call the function directly to verify the early-return shape.+ // Default mode = backend, no session token. The dispatch gate's+ // route check must error with the backend-session message — and+ // `search_gmail_for_linkedin` must surface that as an anyhow error+ // rather than panicking. We call the function directly to verify the+ // early-return shape.let res = super::search_gmail_for_linkedin(&config).await;let err = res.expect_err("unsigned-in user must surface an error");let msg = err.to_string();assert!(- msg.contains("composio client unavailable"),- "expected mode-agnostic factory error surface, got: {msg}"+ msg.contains("GMAIL_FETCH_EMAILS failed") && msg.contains("no backend session"),+ "expected the route-check error surface, got: {msg}");}diff --git a/crates/openhuman-core/src/agent/prompts/mod_tests_builder_sections_tests.rs b/crates/openhuman-core/src/agent/prompts/mod_tests_builder_sections_tests.rsindex 7b157cd876..8680b3c176 100644--- a/crates/openhuman-core/src/agent/prompts/mod_tests_builder_sections_tests.rs+++ b/crates/openhuman-core/src/agent/prompts/mod_tests_builder_sections_tests.rs@@ -276,8 +276,7 @@ fn datetime_section_appends_resolve_time_rule_only_when_tool_present() {// With `resolve_time` in the agent's tool set, the time-discipline rule// is rendered under the date block (prevents the LLM hand-computing epoch// timestamps — the bug this tool exists to fix).- let with_tools: Vec<Box<dyn Tool>> =- vec![Box::new(tinyagents_harness::tools::ResolveTimeTool::new())];+ let with_tools = vec![Box::new(tinyagents_harness::tools::ResolveTimeTool::new()) as Box<dyn Tool>];let with_prompt_tools = PromptTool::from_tools(&with_tools);let ctx_with = PromptContext {workspace_dir: Path::new("/tmp"),