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(tinyagents): remove physical dispatch admission error handling
Steven Enamakel17530b739770
diff --git a/crates/openhuman-core/src/agent/tinyagents/turn_run_error.rs b/crates/openhuman-core/src/agent/tinyagents/turn_run_error.rsindex 4b74768e0e..9f54400885 100644--- a/crates/openhuman-core/src/agent/tinyagents/turn_run_error.rs+++ b/crates/openhuman-core/src/agent/tinyagents/turn_run_error.rs@@ -31,16 +31,6 @@ pub(super) async fn map_turn_run_error(if let Some(journal) = turn_journal {journal.finish_failed(&e.to_string()).await;}- // A host admission refusal is a terminal policy result, not a provider- // failure. Preserve its typed source before consulting the provider error- // slot, which may still contain an earlier successful route's stale error.- if let tinyagents_harness::TinyAgentsError::PhysicalDispatchAdmission(refusal) = &e {- error_slot- .lock()- .unwrap_or_else(std::sync::PoisonError::into_inner)- .take();- return anyhow::Error::new(*refusal);- }// The harness owns the ordering-sensitive classification; the host only// maps each kind onto its typed error.match classify_run_failure(&e) {