The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
chore: reformat long function call arguments and imports\n\nReformatted several multi-line function call arguments and import statements to improve code readability by breaking them across multiple lines. The changes are purely stylistic with no behavioural impact.\n\nAuto-committed-on: dragonfly\n
Steven Enamakel3a4ab294535d
diff --git a/src/openhuman/inference/tokenjuice/types.rs b/src/openhuman/inference/tokenjuice/types.rsindex 72ca1542b9..8ccbcbabec 100644--- a/src/openhuman/inference/tokenjuice/types.rs+++ b/src/openhuman/inference/tokenjuice/types.rs@@ -19,7 +19,9 @@ pub use tinyjuice_bus::types::{AgentTokenjuiceCompression, CompressOptions, CompressedOutput, CompressorKind, ContentHint,ContentKind,};-pub use tinyjuice_bus::wire::{CacheStats, CompactResponse, InstallRequest, RangeUnit, RetrieveRange};+pub use tinyjuice_bus::wire::{+ CacheStats, CompactResponse, InstallRequest, RangeUnit, RetrieveRange,+};#[cfg(test)]mod tests {diff --git a/src/openhuman/modules/voice.rs b/src/openhuman/modules/voice.rsindex dd5d229a71..dcad2c0f08 100644--- a/src/openhuman/modules/voice.rs+++ b/src/openhuman/modules/voice.rs@@ -182,7 +182,12 @@ pub async fn is_hallucinated(text: &str,mode: HallucinationMode,) -> Result<bool, VoiceCallError> {- call(config, methods::IS_HALLUCINATED, (text, hallucination_mode_wire(mode))).await+ call(+ config,+ methods::IS_HALLUCINATED,+ (text, hallucination_mode_wire(mode)),+ )+ .await}/// Downmix, resample to 16 kHz, optionally silence-gate, and frame as WAV.@@ -402,7 +407,12 @@ pub async fn encode_wav_pcm16(use base64::Engine as _;let bytes: Vec<u8> = samples.iter().flat_map(|s| s.to_le_bytes()).collect();let encoded = base64::engine::general_purpose::STANDARD.encode(bytes);- let wav: String = call(config, methods::ENCODE_WAV_PCM16, (encoded, sample_rate, channels)).await?;+ let wav: String = call(+ config,+ methods::ENCODE_WAV_PCM16,+ (encoded, sample_rate, channels),+ )+ .await?;decode_audio(&wav)}diff --git a/src/openhuman/modules/voice_tests.rs b/src/openhuman/modules/voice_tests.rsindex 12e31f1056..2403971f5c 100644--- a/src/openhuman/modules/voice_tests.rs+++ b/src/openhuman/modules/voice_tests.rs@@ -65,7 +65,10 @@ fn an_unrecognised_tag_degrades_to_unknown_rather_than_failing() {fn hallucination_modes_use_the_wire_spelling() {// The module rejects an unknown mode rather than defaulting, so a typo// here is a hard failure at runtime rather than a silent mode swap.- assert_eq!(hallucination_mode_wire(HallucinationMode::Dictation), "dictation");+ assert_eq!(+ hallucination_mode_wire(HallucinationMode::Dictation),+ "dictation"+ );assert_eq!(hallucination_mode_wire(HallucinationMode::Conversation),"conversation"@@ -305,7 +308,9 @@ async fn the_published_module_answers_through_this_client() {.expect("VadPush");match events.as_slice() {[super::IndexedVadEvent {- event: super::VadEvent::SpeechEnd { voiced_ms, emit, .. },+ event: super::VadEvent::SpeechEnd {+ voiced_ms, emit, ..+ },..}] => {assert_eq!(*voiced_ms, 120, "voiced time carries across pushes");