Skip to content

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

test(orchestrator): use current registry in withheld roster test

Steven Enamakelb1ca7ad0e840
diff --git a/crates/openhuman-core/src/agent_registry/agents/orchestrator/prompt_tests.rs b/crates/openhuman-core/src/agent_registry/agents/orchestrator/prompt_tests.rs
index 3be4ad9460..c293e59383 100644
--- a/crates/openhuman-core/src/agent_registry/agents/orchestrator/prompt_tests.rs
+++ b/crates/openhuman-core/src/agent_registry/agents/orchestrator/prompt_tests.rs
@@ -353,8 +353,8 @@ fn composio_connect_is_not_advertised_when_the_tool_is_not_visible() {
fn withheld_specialist_roster_keeps_live_when_to_use_descriptions() {
use crate::agent_registry::host_definition::AgentDefinitionRegistry;
- let registry = AgentDefinitionRegistry::init_global_builtins()
- .expect("built-in agent definitions");
+ AgentDefinitionRegistry::init_global_builtins().expect("built-in agent definitions");
+ let registry = AgentDefinitionRegistry::current().expect("initialized agent registry");
let orchestrator = registry.get("orchestrator").expect("orchestrator");
let (tool_name, description) = orchestrator
.subagents