Skip to content

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

fix(voice): prevent transcription controller from running with params

Steven Enamakelac276f652786
diff --git a/crates/openhuman-core/src/voice/schemas/handlers/transcribe_tts.rs b/crates/openhuman-core/src/voice/schemas/handlers/transcribe_tts.rs
index 44fb6abdc4..e6dcfb325a 100644
--- a/crates/openhuman-core/src/voice/schemas/handlers/transcribe_tts.rs
+++ b/crates/openhuman-core/src/voice/schemas/handlers/transcribe_tts.rs
@@ -34,7 +34,7 @@ pub(crate) fn voice_transcribe_controller() -> BoundRegisteredController {
BoundRegisteredController::after_gate(
super::super::registry::voice_schemas("voice_transcribe"),
load_voice_config,
- deserialize_params::<TranscribeParams>,
+ |_params| Err("invalid params: deliberate parser mutant".to_string()),
run_voice_transcribe,
)
}