Skip to content

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

fix(voice): use proper parameter deserialization for transcription

Steven Enamakelf84e8d38f6ef
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 e6dcfb325a..44fb6abdc4 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,
- |_params| Err("invalid params: deliberate parser mutant".to_string()),
+ deserialize_params::<TranscribeParams>,
run_voice_transcribe,
)
}