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): split turn execution from turn planning
Steven Enamakel1ff9d6fc903e
diff --git a/crates/openhuman-core/src/agent/tinyagents/turn_exec.rs b/crates/openhuman-core/src/agent/tinyagents/turn_exec.rsindex 9837220e46..076d07a49e 100644--- a/crates/openhuman-core/src/agent/tinyagents/turn_exec.rs+++ b/crates/openhuman-core/src/agent/tinyagents/turn_exec.rs@@ -281,8 +281,7 @@ async fn run_turn_via_tinyagents_body(error_slot,..} = turn_models;- let planner = OpenHumanTurnPlanner {- models: turn_models_for_plan(+ let plan_models = turn_models_for_plan(model,primary,tier_routes,diff --git a/crates/openhuman-core/src/agent/tinyagents/turn_plan.rs b/crates/openhuman-core/src/agent/tinyagents/turn_plan.rsindex 0613232d88..938c68c129 100644--- a/crates/openhuman-core/src/agent/tinyagents/turn_plan.rs+++ b/crates/openhuman-core/src/agent/tinyagents/turn_plan.rs@@ -136,8 +136,6 @@ impl TurnPlanner<(), OpenHumanRunContext> for OpenHumanTurnPlanner {pub(super) fn enforce_registry_diagnostics(registry_diagnostics: &[RegistryDiagnostic],) -> anyhow::Result<()> {- let registry_diagnostics =- std::mem::take(&mut *slot.lock().unwrap_or_else(PoisonError::into_inner));if !registry_diagnostics.is_empty() {let (errors, warnings): (Vec<&tinyagents_registry::RegistryDiagnostic>,