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
fix(voice): remove stale directive assertion
Steven Enamakel89dad4d31670
diff --git a/crates/openhuman-core/src/voice/realtime_harness.rs b/crates/openhuman-core/src/voice/realtime_harness.rsindex 199fbdb36f..18e26b790a 100644--- a/crates/openhuman-core/src/voice/realtime_harness.rs+++ b/crates/openhuman-core/src/voice/realtime_harness.rs@@ -31,8 +31,6 @@ pub use turn_handler::handle_voice_harness_turn;#[cfg(test)]use crate::agent::progress::AgentProgress;#[cfg(test)]-use agent::VOICE_DIRECTIVE;-#[cfg(test)]use prompt::{is_answerable_prompt, is_content_free, messages_to_history_pairs, readback_payload,should_arm_speak_back, spoken_delta, VOICE_READBACK_PREFIX,diff --git a/crates/openhuman-core/src/voice/realtime_harness/turn_handler.rs b/crates/openhuman-core/src/voice/realtime_harness/turn_handler.rsindex 68b7b65eca..96f1d80f4d 100644--- a/crates/openhuman-core/src/voice/realtime_harness/turn_handler.rs+++ b/crates/openhuman-core/src/voice/realtime_harness/turn_handler.rs@@ -38,8 +38,9 @@ const VOICE_ACK_DEADLINE_SECS: u64 = 8;/// own, so the caller is told the answer is still coming instead of being left on/// a trail of filler.///-/// The model is deliberately not asked to speak first (see VOICE_DIRECTIVE), and-/// could not be relied on to anyway: building the per-turn orchestrator (config+/// The model is deliberately not asked to speak first; the relay owns the+/// filler because the model could not be relied on to do so anyway: building+/// the per-turn orchestrator (config/// load, tool registry, integration catalogue) takes seconds before the first/// model token is even requested, and the first round is usually a tool call/// carrying no text. Measured against staging, the first streamable token landeddiff --git a/crates/openhuman-core/src/voice/realtime_harness_tests.rs b/crates/openhuman-core/src/voice/realtime_harness_tests.rsindex 9819b17143..cd3acdb395 100644--- a/crates/openhuman-core/src/voice/realtime_harness_tests.rs+++ b/crates/openhuman-core/src/voice/realtime_harness_tests.rs@@ -127,23 +127,6 @@ fn speak_back_suppressed_for_a_read_back_turn() {)));}-// A reply carrying only text and no tool call ends the turn, so an instruction-// to announce work before doing it makes the announcement the final answer:-// the caller hears a promise and never gets the summary. Observed live.-#[test]-fn the_directive_forbids_announcing_work_instead_of_doing_it() {- assert!(- VOICE_DIRECTIVE.contains("Do NOT announce"),- "the directive must forbid a preface-only reply"- );- for banned in ["first say one short spoken sentence", "then proceed"] {- assert!(- !VOICE_DIRECTIVE.contains(banned),- "directive must not ask the model to speak before acting: {banned:?}"- );- }-}-// The provider synthesises on sentence boundaries, so an unterminated line is// buffered instead of spoken — the same defect that made the relay's fillers// inaudible for eight seconds.