Skip to content

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

refactor(voice): collapse multi-line call into single line

Steven Enamakelbe57711ef222
diff --git a/crates/openhuman-core/src/modules/voice.rs b/crates/openhuman-core/src/modules/voice.rs
index 8b6953d089..31aeba01e0 100644
--- a/crates/openhuman-core/src/modules/voice.rs
+++ b/crates/openhuman-core/src/modules/voice.rs
@@ -159,12 +159,7 @@ pub async fn sequence_utterance(
transcript: &str,
wake_word: &str,
) -> Result<UtteranceDisposition, VoiceCallError> {
- let json: String = call(
- config,
- methods::SEQUENCE_UTTERANCE,
- (transcript, wake_word),
- )
- .await?;
+ let json: String = call(config, methods::SEQUENCE_UTTERANCE, (transcript, wake_word)).await?;
serde_json::from_str(&json)
.map_err(|e| VoiceCallError::Failed(format!("could not decode disposition: {e}")))
}