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
fix(host): remove reaction gate from host capabilities
Steven Enamakelba6c6fbc9e10
diff --git a/crates/openhuman-core/src/channels/host/host_tests.rs b/crates/openhuman-core/src/channels/host/host_tests.rsindex 6170ff0c34..6070257d04 100644--- a/crates/openhuman-core/src/channels/host/host_tests.rs+++ b/crates/openhuman-core/src/channels/host/host_tests.rs@@ -152,7 +152,7 @@ fn build_channel_host_advertises_expected_capabilities() {assert!(caps.lifecycle);assert!(caps.stt);assert!(caps.tts);- assert!(caps.reaction_gate);+ assert!(!caps.reaction_gate, "no reaction gate is offered");assert!(caps.approvals);assert!(caps.conversation_store);assert!(caps.event_sink);diff --git a/tests/channels_host_boundary_e2e.rs b/tests/channels_host_boundary_e2e.rsindex 53bee7dbff..50643149f2 100644--- a/tests/channels_host_boundary_e2e.rs+++ b/tests/channels_host_boundary_e2e.rs@@ -73,21 +73,12 @@ async fn conversation_store_roundtrips_through_the_boundary() {assert_eq!(history[1].content, "pong");}-#[tokio::test]-async fn reaction_gate_short_circuits_when_runtime_disabled() {+#[test]+fn host_offers_no_reaction_gate() {let dir = tempfile::tempdir().expect("tempdir");let host = build_channel_host(Arc::new(test_config(dir.path())));- let gate = host.reactions().expect("reaction gate present");-- let decision = gate- .should_react(ReactionQuery {- message: "hello there".into(),- channel_type: "web".into(),- })- .await- .expect("should_react ok");- assert!(!decision.should_react);- assert!(decision.emoji.is_none());+ assert!(host.reactions().is_none());+ assert!(!host.capabilities().reaction_gate);}#[test]