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
refactor(validation, streaming): remove unused re-exports and imports
Steven Enamakelb0c76fde4bd2
diff --git a/crates/openhuman-core/src/flows/ops/validation.rs b/crates/openhuman-core/src/flows/ops/validation.rsindex e5b71b89e3..417b145a79 100644--- a/crates/openhuman-core/src/flows/ops/validation.rs+++ b/crates/openhuman-core/src/flows/ops/validation.rs@@ -56,14 +56,12 @@ pub(crate) fn max_sub_workflow_depth(graph: &WorkflowGraph) -> u64 {tinyflows::compat::max_sub_workflow_depth(graph)}-// The two refusal codes are `tinyflows::compat`'s, re-exported at `ops::` scope-// because this module's tests assert on them by name — which is the point of a+// The refusal code is `tinyflows::compat`'s, re-exported at `ops::` scope+// because this module's tests assert on it by name — which is the point of a// stable code, and what keeps a rename upstream a compile error here rather// than a silently-passing `contains`.#[cfg(test)]-pub(crate) use tinyflows::compat::{- UNSUPPORTED_MAIN_PORT_CONDITIONAL_FAN_IN, UNSUPPORTED_NESTED_CONDITIONAL_FAN_IN,-};+pub(crate) use tinyflows::compat::UNSUPPORTED_NESTED_CONDITIONAL_FAN_IN;fn to_compat_validation_error(error: tinyflows::compat::CompatibilityError,diff --git a/crates/openhuman-core/src/voice/streaming.rs b/crates/openhuman-core/src/voice/streaming.rsindex 9541dcd610..235348c2af 100644--- a/crates/openhuman-core/src/voice/streaming.rs+++ b/crates/openhuman-core/src/voice/streaming.rs@@ -54,8 +54,6 @@ use crate::config::Config;use crate::voice::{create_stt_provider, effective_stt_provider};const LOG_PREFIX: &str = "[voice-stream]";-#[cfg(test)]-use tinyinference_voice::streaming::MAX_STREAM_BUFFER_SAMPLES;use tinyinference_voice::streaming::{append_stream_samples, decode_pcm16le_frame, is_stop_command, AUDIO_SAMPLE_RATE,MAX_FULL_AUDIO_SAMPLES,