Skip to content

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

test(subagent-host): update refusal message in graph policy tests

Steven Enamakelc7fdcc7457db
diff --git a/crates/openhuman-core/src/agent/subagent_host/ops/graph_policy_tests.rs b/crates/openhuman-core/src/agent/subagent_host/ops/graph_policy_tests.rs
index af267ede4d..b9a8bf96c5 100644
--- a/crates/openhuman-core/src/agent/subagent_host/ops/graph_policy_tests.rs
+++ b/crates/openhuman-core/src/agent/subagent_host/ops/graph_policy_tests.rs
@@ -97,7 +97,7 @@ impl ChatModel<()> for SpawnAttemptProvider {
}
}
-const REFUSAL: &str = "refusing to register spawn/delegate tool";
+const REFUSAL: &str = "refused spawn tool on sub-agent";
/// Runs one sub-agent turn whose parent surface carries `spawn_subagent`, with
/// `allowed` deciding whether the allowlist readmits it. Returns