Skip to content

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

test(profiles): drop retired continue_subagent from capability tests

Steven Enamakelb9db53bbd5ff
diff --git a/crates/openhuman-core/src/profiles/capabilities_tests.rs b/crates/openhuman-core/src/profiles/capabilities_tests.rs
index 528d1a5dde..8e9e717e4b 100644
--- a/crates/openhuman-core/src/profiles/capabilities_tests.rs
+++ b/crates/openhuman-core/src/profiles/capabilities_tests.rs
@@ -4,11 +4,9 @@ use super::*;
fn profile_capabilities_deny_the_registered_spawn_tool() {
let capabilities = ProfileCapabilities::new(None, None, None, HashMap::new(), Vec::new(), None);
- for name in tinyagents_definition::SPAWN_TOOL_NAMES
- .iter()
- .copied()
- .chain(["continue_subagent"])
- {
+ // `continue_subagent` is retired (tinyagents owns resume); only the
+ // registered spawn tools remain to deny.
+ for name in tinyagents_definition::SPAWN_TOOL_NAMES.iter().copied() {
assert!(
!capabilities.admits_capability(name),
"profiles must not admit spawn tool {name}"
diff --git a/crates/openhuman-core/src/profiles/provider_settings_tests.rs b/crates/openhuman-core/src/profiles/provider_settings_tests.rs
index 6682ba4a75..ae2c19f757 100644
--- a/crates/openhuman-core/src/profiles/provider_settings_tests.rs
+++ b/crates/openhuman-core/src/profiles/provider_settings_tests.rs
@@ -82,7 +82,6 @@ fn rejects_collisions_duplicates_unsafe_identifiers_and_alias_chains() {
"shell",
"spawn_subagent",
"spawn_subagent",
- "continue_subagent",
"memory",
"show_page",
"web_answer_tool",