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
style: format dispatch_ctx fallback chain
Steven Enamakel40da40cb7e97
diff --git a/crates/openhuman-core/src/agent/session_host/builder/host_tools.rs b/crates/openhuman-core/src/agent/session_host/builder/host_tools.rsindex 6a33115969..daa62d2e29 100644--- a/crates/openhuman-core/src/agent/session_host/builder/host_tools.rs+++ b/crates/openhuman-core/src/agent/session_host/builder/host_tools.rs@@ -336,7 +336,9 @@ impl<'a> TurnContext<'a> {/// occasion built without one).#[must_use]pub fn dispatch_ctx(&self) -> crate::core::runtime::DispatchCtx {- self.dispatch.cloned().unwrap_or_else(|| crate::core::runtime::DispatchCtx::from_weak(None))+ self.dispatch+ .cloned()+ .unwrap_or_else(|| crate::core::runtime::DispatchCtx::from_weak(None))}/// The agent definition this turn runs as.