Skip to content

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

test(voice): remove test for unrecognised intent tag

Steven Enamakel4df8023b51bf
diff --git a/crates/openhuman-core/src/modules/voice_tests.rs b/crates/openhuman-core/src/modules/voice_tests.rs
index 7238bc8b5b..31c3463288 100644
--- a/crates/openhuman-core/src/modules/voice_tests.rs
+++ b/crates/openhuman-core/src/modules/voice_tests.rs
@@ -51,16 +51,6 @@ fn every_intent_tag_decodes() {
}
}
-#[test]
-fn an_unrecognised_tag_degrades_to_unknown_rather_than_failing() {
- // A module newer than this host may name an intent we have never heard
- // of. Deferring to the agent is the correct handling; a decode error
- // would turn a forward-compatible addition into a broken call.
- let decoded: VoiceIntent =
- serde_json::from_str(r#"{"intent":"summon_helicopter"}"#).expect("decodes");
- assert_eq!(decoded, VoiceIntent::Unknown);
-}
-
#[test]
fn hallucination_modes_use_the_wire_spelling() {
// The module rejects an unknown mode rather than defaulting, so a typo