The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
test(agent_registry): cover workflow specialists without flows feature
Steven Enamakel7c7d9053d8a2
diff --git a/crates/openhuman-core/src/agent_registry/agents/loader_tests_specialist_agents_tests.rs b/crates/openhuman-core/src/agent_registry/agents/loader_tests_specialist_agents_tests.rsindex 4694574a74..6def540421 100644--- a/crates/openhuman-core/src/agent_registry/agents/loader_tests_specialist_agents_tests.rs+++ b/crates/openhuman-core/src/agent_registry/agents/loader_tests_specialist_agents_tests.rs@@ -296,6 +296,21 @@ fn orchestrator_routes_every_registered_specialist_through_spawn_subagent() {);continue;}+ if matches!(agent_id.as_str(), "workflow_builder" | "flow_discovery")+ && !cfg!(feature = "flows")+ {+ assert!(+ registry.get(agent_id).is_none(),+ "workflow specialists are intentionally absent without flows"+ );+ assert!(+ !allowed+ .iter()+ .any(|candidate| candidate.as_str() == Some(agent_id)),+ "spawn_subagent must not advertise workflow specialists without flows"+ );+ continue;+ }assert!(registry.get(agent_id).is_some(),"orchestrator specialist `{agent_id}` must be registered"