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(embed): add host capability profile coverage
Steven Enamakeldc1c4881556d
diff --git a/crates/openhuman-embed/tests/profile_host_capabilities.rs b/crates/openhuman-embed/tests/profile_host_capabilities.rsindex b8d60119ff..50d0867182 100644--- a/crates/openhuman-embed/tests/profile_host_capabilities.rs+++ b/crates/openhuman-embed/tests/profile_host_capabilities.rs@@ -283,7 +283,12 @@ async fn scenario() {Some(format!("user:{user}").as_str()));let profile = handle- .scope(async { openhuman_core::profiles::host::current().unwrap() })+ .scope(async {+ openhuman_core::profiles::host::current(+ &openhuman_core::core::runtime::DispatchCtx::ambient(),+ )+ .unwrap()+ }).await;profile.lease_fence().renewed(0);assert!(@@ -419,9 +424,15 @@ async fn scenario() {None,),);- let alice_profile = handles[0]- .scope(async { openhuman_core::profiles::current().unwrap() })- .await;+ let alice_profile =+ handles[0]+ .scope(async {+ openhuman_core::profiles::current(+ &openhuman_core::core::runtime::DispatchCtx::ambient(),+ )+ .unwrap()+ })+ .await;let closed_hook = no_callback.hook(handles[0].id(), alice_profile.lease_fence().clone());assert!(handles[0].scope(closed_hook.before_tool_decision(&hook_context))@@ -499,9 +510,15 @@ async fn scenario() {);}handles.insert(0, reopened);- let alice_profile = handles[0]- .scope(async { openhuman_core::profiles::current().unwrap() })- .await;+ let alice_profile =+ handles[0]+ .scope(async {+ openhuman_core::profiles::current(+ &openhuman_core::core::runtime::DispatchCtx::ambient(),+ )+ .unwrap()+ })+ .await;let alice_hook = handles[0].context().host_overrides()