Skip to content

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

test(isolation): update host-only agent definition structure

Steven Enamakel08759fa9e079
diff --git a/crates/openhuman-embed/tests/isolation_subagents.rs b/crates/openhuman-embed/tests/isolation_subagents.rs
index 18d7511292..58dbb6c0d1 100644
--- a/crates/openhuman-embed/tests/isolation_subagents.rs
+++ b/crates/openhuman-embed/tests/isolation_subagents.rs
@@ -219,8 +219,11 @@ fn host_only_and_disallowed_scopes_do_not_opt_into_declared_helpers() {
.agent(
AgentSpec::new("host-only-lead")
.provider(route(&host_only_provider, "host-only-model"))
- .bare_prompt("You are a host-managed agent.")
- .definition(AgentDefinitionSpec::new().tools(ToolScopeSpec::HostOnly))
+ .definition(
+ AgentDefinitionSpec::new()
+ .bare_prompt("You are a host-managed agent.")
+ .tools(ToolScopeSpec::HostOnly),
+ )
.subagents([(
"host_helper",
AgentDefinitionSpec::new()