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: reformat long lines and fix parent workspace descriptor inheritance
Steven Enamakel2da9afab462b
diff --git a/crates/openhuman-core/src/agent/session_host/runtime_session.rs b/crates/openhuman-core/src/agent/session_host/runtime_session.rsindex 210dc17ac7..f98a81a27f 100644--- a/crates/openhuman-core/src/agent/session_host/runtime_session.rs+++ b/crates/openhuman-core/src/agent/session_host/runtime_session.rs@@ -74,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,@@ -282,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<_>>();diff --git a/crates/openhuman-core/src/agent/session_host/runtime_session/parent_snapshot.rs b/crates/openhuman-core/src/agent/session_host/runtime_session/parent_snapshot.rsindex 26c646940f..7ecd369909 100644--- a/crates/openhuman-core/src/agent/session_host/runtime_session/parent_snapshot.rs+++ b/crates/openhuman-core/src/agent/session_host/runtime_session/parent_snapshot.rs@@ -37,7 +37,9 @@ impl OpenHumanTurnPrelude {model_name: self.model_name.clone(),temperature: self.temperature,workspace_dir: self.workspace_dir.clone(),- workspace_descriptor: inherited_workspace.or_else(|| self.workspace_descriptor.clone()),+ workspace_descriptor: inherited+ .and_then(|parent| parent.workspace_descriptor.clone())+ .or_else(|| self.workspace_descriptor.clone()),agent_config: self.config.clone(),workflows: Arc::new(workflows),memory_context: Arc::new(memory_context),