Skip to content

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

chore(tinyflows): add capability tests

Steven Enamakelca442612f9bb
diff --git a/crates/openhuman-core/src/flows/tinyflows/tinyflows_capabilities_tests.rs b/crates/openhuman-core/src/flows/tinyflows/tinyflows_capabilities_tests.rs
index e18d24992f..8085d41809 100644
--- a/crates/openhuman-core/src/flows/tinyflows/tinyflows_capabilities_tests.rs
+++ b/crates/openhuman-core/src/flows/tinyflows/tinyflows_capabilities_tests.rs
@@ -6,7 +6,7 @@ use super::*;
fn build_capabilities_constructs_every_slot_without_panicking() {
let tmp = TempDir::new().unwrap();
let config = test_config(&tmp);
- let caps = build_capabilities(config, "test:build", None);
+ let caps = build_capabilities(&crate::core::runtime::DispatchCtx::ambient(), config, "test:build", None);
assert!(caps.tasks.is_some(), "Tinyflows task nodes need a runner");
assert!(
caps.approvals.is_none(),
@@ -54,7 +54,7 @@ async fn http_adapter_rejects_host_outside_strict_allowlist() {
async fn engine_run_drives_trigger_to_http_request_through_the_real_seam() {
let tmp = TempDir::new().unwrap();
let config = test_config(&tmp);
- let caps = build_capabilities(config, "test:smoke", None);
+ let caps = build_capabilities(&crate::core::runtime::DispatchCtx::ambient(), config, "test:smoke", None);
// A deterministically-blocked loopback URL with `on_error: continue` so
// the run completes even though the (real, SSRF-guarded) HTTP adapter