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
fix(subagent_host): render connected identities asynchronously
Steven Enamakel7042f62ed577
diff --git a/crates/openhuman-core/src/agent/subagent_host/ops/runner.rs b/crates/openhuman-core/src/agent/subagent_host/ops/runner.rsindex 48eed25d64..79b7111d73 100644--- a/crates/openhuman-core/src/agent/subagent_host/ops/runner.rs+++ b/crates/openhuman-core/src/agent/subagent_host/ops/runner.rs@@ -583,6 +583,10 @@ async fn run_typed_mode(tinyagents_harness::context::AgentsMdContent::default()};+ let connected_identities_md = crate::integrations::render_connected_identities_async(+ &options.run_context.dispatch_ctx(),+ )+ .await;let prompt_ctx = PromptContext {workspace_dir: &parent.workspace_dir,model_name: &model,@@ -594,7 +598,7 @@ async fn run_typed_mode(visible_tool_names: &visible_tool_names,tool_call_format: prompt_tool_call_format,connected_integrations: &connected_integrations_for_prompt,- connected_identities_md: options.run_context.connected_identities_md(),+ connected_identities_md,user_identity: crate::security::credentials::identity::peek_credential_user_identity(),personality_roster: vec![],agents_md_global: agents_md.global.clone(),diff --git a/crates/openhuman-core/src/agent/tinyagents/host/run_context.rs b/crates/openhuman-core/src/agent/tinyagents/host/run_context.rsindex a52d4a2197..a7a8abf187 100644--- a/crates/openhuman-core/src/agent/tinyagents/host/run_context.rs+++ b/crates/openhuman-core/src/agent/tinyagents/host/run_context.rs@@ -438,11 +438,6 @@ impl OpenHumanRunContext {crate::core::runtime::DispatchCtx::from_weak(self.core.as_ref())}- /// The connected-identities prompt section, read under this run's context.- pub(crate) fn connected_identities_md(&self) -> String {- crate::integrations::render_connected_identities(&self.dispatch_ctx())- }-/// Sets the direct TinyTools workspace descriptor for this run.pub fn with_workspace(mut self, workspace: tinytools::WorkspaceDescriptor) -> Self {self.workspace = Some(workspace);