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(session_host): tidy runtime session imports and formatting
Steven Enamakel53d1a0935337
diff --git a/crates/openhuman-core/src/agent/session_host/runtime_session.rs b/crates/openhuman-core/src/agent/session_host/runtime_session.rsindex d2cf1e53c7..f70bdbb70b 100644--- a/crates/openhuman-core/src/agent/session_host/runtime_session.rs+++ b/crates/openhuman-core/src/agent/session_host/runtime_session.rs@@ -16,7 +16,6 @@ mod transcript;mod turn;pub(super) use turn::begin_turn_resume;-use crate::core::runtime::DispatchCtx;use std::sync::Arc;use anyhow::Result;@@ -75,11 +74,7 @@ struct OpenHumanTurnPrelude {/// Host prompt/utilisation state, shared by the runtime hooks. It is not/// generic conversation state and the runtime never persists it.context: Arc<std::sync::Mutex<crate::agent::context::ContextManager>>,- tool_policy: Arc<- dyn tinyagents_harness::middleware::ToolCallPolicy<- crate::agent::tinyagents::host::OpenHumanRunContext,- >,- >,+ tool_policy: Arc<dyn tinyagents_harness::middleware::ToolCallPolicy<crate::agent::tinyagents::host::OpenHumanRunContext>>,tool_dispatcher: Arc<dyn tinytools_agent::dialect::ToolDialect>,workspace_dir: std::path::PathBuf,action_dir: std::path::PathBuf,@@ -283,7 +278,9 @@ impl OpenHumanTurnPrelude {.filter(|spec| !withheld.contains(&spec.name)).filter(|spec| {self.thread_id.is_some()- || !crate::agent::tinyagents::tool_registration::is_thread_goal_tool(&spec.name)+ || !crate::agent::tinyagents::tool_registration::is_thread_goal_tool(+ &spec.name,+ )}).map(|spec| spec.as_ref().clone()).collect::<Vec<_>>();