Skip to content

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

chore: reorder imports and rewrap voice module docs

Steven Enamakel4cb7c4f9b936
diff --git a/crates/openhuman-core/src/voice/mod.rs b/crates/openhuman-core/src/voice/mod.rs
index 9293a5b6c6..dafd8dfc19 100644
--- a/crates/openhuman-core/src/voice/mod.rs
+++ b/crates/openhuman-core/src/voice/mod.rs
@@ -15,10 +15,9 @@
//! is gated behind the default-ON `voice` Cargo feature. When the feature is
//! off, [`stub`] takes its place and exposes the same public surface that
//! other-gated callers depend on (`server`, `dictation_listener`,
-//! `create_stt_provider`,
-//! `effective_stt_provider`) with no-op / disabled-error bodies. Keeping the
-//! two surfaces in lockstep is
-//! enforced by the disabled-build check
+//! `create_stt_provider`, `effective_stt_provider`) with no-op / disabled-error
+//! bodies. Keeping the two surfaces in lockstep is enforced by the
+//! disabled-build check
//! (`cargo check --no-default-features --features "<all-but-voice>"`): any
//! signature drift fails that build.
@@ -57,9 +56,9 @@ pub mod local_speech;
pub mod postprocess;
#[cfg(feature = "voice")]
pub use factory::{
- DEFAULT_PIPER_VOICE, DEFAULT_STT_MODEL, ExternalSttProvider, ExternalTtsProvider, SttProvider,
- SttResult, TtsProvider, create_stt_provider, create_tts_provider, effective_stt_provider,
- effective_tts_provider,
+ create_stt_provider, create_tts_provider, effective_stt_provider, effective_tts_provider,
+ ExternalSttProvider, ExternalTtsProvider, SttProvider, SttResult, TtsProvider,
+ DEFAULT_PIPER_VOICE, DEFAULT_STT_MODEL,
};
#[cfg(feature = "voice")]
pub use ops::*;
diff --git a/crates/openhuman-core/src/web_chat/run_task.rs b/crates/openhuman-core/src/web_chat/run_task.rs
index 5fcf088a88..4e2dca6f24 100644
--- a/crates/openhuman-core/src/web_chat/run_task.rs
+++ b/crates/openhuman-core/src/web_chat/run_task.rs
@@ -12,8 +12,8 @@ use crate::progress::AgentProgress;
use super::ops::BudgetCorrelation;
use super::progress_bridge::spawn_progress_bridge;
use super::session::{
- CheckedOutSession, CheckoutPolicy, checkin_session_agent, checkout_session_agent,
- normalize_model_override,
+ checkin_session_agent, checkout_session_agent, normalize_model_override, CheckedOutSession,
+ CheckoutPolicy,
};
use super::types::{ChatRequestMetadata, WebChatTaskResult};
use super::web_errors::{