Skip to content

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

style(voice): tidy import ordering and formatting

Steven Enamakelb6c065cbdc5b
diff --git a/crates/openhuman-core/src/config/schema/voice_server.rs b/crates/openhuman-core/src/config/schema/voice_server.rs
index 6c159ec9de..421942e098 100644
--- a/crates/openhuman-core/src/config/schema/voice_server.rs
+++ b/crates/openhuman-core/src/config/schema/voice_server.rs
@@ -118,7 +118,6 @@ pub struct VoiceServerConfig {
/// recognition of names, technical terms, and domain-specific vocabulary.
#[serde(default)]
pub custom_dictionary: Vec<String>,
-
}
fn default_hotkey() -> String {
diff --git a/crates/openhuman-core/src/voice/capture_lease.rs b/crates/openhuman-core/src/voice/capture_lease.rs
index d8e35deab3..2cfad0e89f 100644
--- a/crates/openhuman-core/src/voice/capture_lease.rs
+++ b/crates/openhuman-core/src/voice/capture_lease.rs
@@ -12,8 +12,8 @@ use tinybus::module::ModuleClient;
use tinyvoice_bus::{
capture::{
AudioOutput, CaptureError, CaptureHandle, CaptureResult, MicrophonePermission,
- ReadAudioRequest, RecordingFinishRequest,
- RecordingStartRequest, RecordingSummary, RecordingSummaryRequest,
+ ReadAudioRequest, RecordingFinishRequest, RecordingStartRequest, RecordingSummary,
+ RecordingSummaryRequest,
},
names::methods,
};
diff --git a/crates/openhuman-core/src/voice/capture_lease_tests.rs b/crates/openhuman-core/src/voice/capture_lease_tests.rs
index 078437e71a..b48a8c9a23 100644
--- a/crates/openhuman-core/src/voice/capture_lease_tests.rs
+++ b/crates/openhuman-core/src/voice/capture_lease_tests.rs
@@ -4,10 +4,7 @@ use super::*;
async fn missing_module_never_starts_a_local_microphone() {
let mut config = Config::default();
config.modules.enabled = false;
- let error = CaptureLease::reserve(&config)
- .await
- .err()
- .unwrap();
+ let error = CaptureLease::reserve(&config).await.err().unwrap();
assert!(error.contains("MODULE_CALL_REPORTED"));
}
@@ -199,8 +196,7 @@ async fn a_reservation_finishing_after_sign_out_is_closed_before_start() {
let port = Arc::new(Fixture::default());
port.block_reserve.store(true, Ordering::SeqCst);
let task_port = port.clone();
- let task =
- tokio::spawn(async move { CaptureLease::reserve_with_port(task_port).await });
+ let task = tokio::spawn(async move { CaptureLease::reserve_with_port(task_port).await });
port.entered.notified().await;
RECORDING_GENERATION.fetch_add(1, Ordering::SeqCst);
port.release_reserve.notify_one();