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
test(core): update native media test cases
Steven Enamakelc79a6eea3042
diff --git a/crates/openhuman-core/src/channels/runtime/dispatch/processor/native_media_tests.rs b/crates/openhuman-core/src/channels/runtime/dispatch/processor/native_media_tests.rsindex 7cd7004aaa..29730aef18 100644--- a/crates/openhuman-core/src/channels/runtime/dispatch/processor/native_media_tests.rs+++ b/crates/openhuman-core/src/channels/runtime/dispatch/processor/native_media_tests.rs@@ -103,9 +103,9 @@ fn native_audio_video_and_incomplete_voice_are_rejected_before_media_reads() {for transcript in [None,Some(tinychannels_bus::VoiceTranscript {- text: "failed transcript".into(),+ text: "unavailable transcript".into(),language: None,- state: tinychannels_bus::VoiceTranscriptState::Failed,+ state: tinychannels_bus::VoiceTranscriptState::Unavailable,source: tinychannels_bus::VoiceTranscriptSource::HostStt,}),Some(tinychannels_bus::VoiceTranscript {diff --git a/crates/openhuman-embed/src/turn_control.rs b/crates/openhuman-embed/src/turn_control.rsindex a649c3aa46..370851b2a4 100644--- a/crates/openhuman-embed/src/turn_control.rs+++ b/crates/openhuman-embed/src/turn_control.rs@@ -361,23 +361,22 @@ impl Turn {});// Everything the core honours for this turn rides one explicit value;// nothing is recovered from an ambient scope below this point.+ let mut host_env = openhuman_core::agent::turn_env::HostTurnEnv::default();+ host_env.command_environment = self.tool_env.take();+ host_env.model_budget = budget.clone();+ host_env.spawn_depth_limit = self.spawn_depth_limit;+ host_env.cancellation = self.native_cancellation.clone();+ host_env.hooks = std::mem::take(&mut self.hooks);+ host_env.fresh_tool_snapshot = self.tools.is_some();+ host_env.approval = openhuman_core::security::approval::ApprovalTurnContext {+ flow_run: self.flow_run.take().map(|(flow_id, run_id)| {+ openhuman_core::security::approval::FlowRunContext { flow_id, run_id }+ }),+ ..Default::default()+ };let chat_env = openhuman_core::inference::host_runtime::ops::AgentChatEnv {progress: self.progress.take(),- host: openhuman_core::agent::turn_env::HostTurnEnv {- command_environment: self.tool_env.take(),- model_budget: budget.clone(),- spawn_depth_limit: self.spawn_depth_limit,- cancellation: self.native_cancellation.clone(),- hooks: std::mem::take(&mut self.hooks),- fresh_tool_snapshot: self.tools.is_some(),- approval: openhuman_core::security::approval::ApprovalTurnContext {- flow_run: self.flow_run.take().map(|(flow_id, run_id)| {- openhuman_core::security::approval::FlowRunContext { flow_id, run_id }- }),- ..Default::default()- },- ..Default::default()- },+ host: host_env,run_queue: steering.queue(),};let options = AgentTurnOptions {