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(inference): assert agent chat controllers are not registered
Steven Enamakel4f5c4dc1c888
diff --git a/crates/openhuman-core/src/inference/host_runtime/schemas_tests.rs b/crates/openhuman-core/src/inference/host_runtime/schemas_tests.rsindex ce096c1c12..f594738f8e 100644--- a/crates/openhuman-core/src/inference/host_runtime/schemas_tests.rs+++ b/crates/openhuman-core/src/inference/host_runtime/schemas_tests.rs@@ -50,6 +50,17 @@ fn registered_controllers_all_in_inference_namespace() {}}+#[test]+fn agent_chat_controllers_are_registered_by_agent_runs_only() {+ let functions: Vec<_> = all_registered_controllers()+ .into_iter()+ .map(|controller| controller.schema.function)+ .collect();++ assert!(!functions.contains(&"agent_chat"));+ assert!(!functions.contains(&"agent_chat_simple"));+}+#[test]fn field_builder_helpers_are_correct_shape() {let r = required_string("k", "c");