Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

chore: files changed crates/openhuman-core/src/flows/tinyflows/caps/ops_tier_gate_and_timeouts_tests

Steven Enamakela247638c6c9b
diff --git a/crates/openhuman-core/src/flows/tinyflows/caps/ops_tier_gate_and_timeouts_tests.rs b/crates/openhuman-core/src/flows/tinyflows/caps/ops_tier_gate_and_timeouts_tests.rs
index e555a8f2a9..df0ad86e99 100644
--- a/crates/openhuman-core/src/flows/tinyflows/caps/ops_tier_gate_and_timeouts_tests.rs
+++ b/crates/openhuman-core/src/flows/tinyflows/caps/ops_tier_gate_and_timeouts_tests.rs
@@ -167,7 +167,7 @@ async fn composio_tool_call_blocks_under_readonly_tier() {
use crate::security::AutonomyLevel;
let tools = OpenHumanTools {
- ctx: crate::core::runtime::DispatchCtx::ambient(),
+ ctx: crate::core::runtime::DispatchCtx::unbound(),
config: Arc::new(Config::default()),
security: Arc::new(policy(AutonomyLevel::ReadOnly)),
approval: Default::default(),
@@ -214,7 +214,7 @@ async fn composio_read_action_allowed_under_readonly_tier() {
// it may still fail downstream (no Composio session configured in
// this test), but never with the policy-blocked marker.
let tools = OpenHumanTools {
- ctx: crate::core::runtime::DispatchCtx::ambient(),
+ ctx: crate::core::runtime::DispatchCtx::unbound(),
config: Arc::new(Config::default()),
security: Arc::new(policy(AutonomyLevel::ReadOnly)),
approval: Default::default(),
@@ -252,7 +252,7 @@ async fn composio_read_action_does_not_prompt_under_supervised_tier() {
);
let tools = OpenHumanTools {
- ctx: crate::core::runtime::DispatchCtx::ambient(),
+ ctx: crate::core::runtime::DispatchCtx::unbound(),
config: Arc::new(Config::default()),
security: Arc::new(policy(AutonomyLevel::Supervised)),
approval: Default::default(),
@@ -478,7 +478,7 @@ fn agent_node_runtime_resolves_to_the_definitions_effective_iteration_cap() {
assert_eq!(expected, 50);
let agent = crate::agent::OpenHumanSessionHost::from_config_for_agent(
- &crate::core::runtime::DispatchCtx::ambient(),
+ &crate::core::runtime::DispatchCtx::unbound(),
&config,
"planner",
)
diff --git a/crates/openhuman-core/src/flows/tinyflows/tinyflows_tests.rs b/crates/openhuman-core/src/flows/tinyflows/tinyflows_tests.rs
index 56239f801d..af8f5838a2 100644
--- a/crates/openhuman-core/src/flows/tinyflows/tinyflows_tests.rs
+++ b/crates/openhuman-core/src/flows/tinyflows/tinyflows_tests.rs
@@ -79,7 +79,7 @@ fn http_adapter(allowed_domains: Vec<String>) -> OpenHumanHttp {
&config.action_dir,
));
OpenHumanHttp {
- ctx: crate::core::runtime::DispatchCtx::ambient(),
+ ctx: crate::core::runtime::DispatchCtx::unbound(),
config: Arc::new(config.clone()),
security,
http_config: crate::config::HttpRequestConfig {
@@ -108,7 +108,7 @@ fn tools_adapter(config: Arc<Config>) -> OpenHumanTools {
&config.action_dir,
));
OpenHumanTools {
- ctx: crate::core::runtime::DispatchCtx::ambient(),
+ ctx: crate::core::runtime::DispatchCtx::unbound(),
config,
security,
approval: Default::default(),