Skip to content

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

refactor(voice): simplify schema definition for audio path

Steven Enamakela42236a3733b
diff --git a/crates/openhuman-core/src/voice/schemas/registry.rs b/crates/openhuman-core/src/voice/schemas/registry.rs
index d2f2e1d4fd..583ab83d46 100644
--- a/crates/openhuman-core/src/voice/schemas/registry.rs
+++ b/crates/openhuman-core/src/voice/schemas/registry.rs
@@ -121,12 +121,7 @@ pub fn voice_schemas(function: &str) -> ControllerSchema {
description:
"Transcribe audio from a file path through the configured STT engine, with optional LLM cleanup.",
inputs: vec![
- FieldSchema {
- name: "audio_path",
- ty: TypeSchema::String,
- comment: "Path to the audio file.",
- required: false,
- },
+ required_string("audio_path", "Path to the audio file."),
optional_string("context", "Conversation context for LLM post-processing."),
optional_bool(
"skip_cleanup",