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
feat(subagent): forward attachments to delegated subagent prompts
Steven Enamakel6df82b810ceb
diff --git a/crates/openhuman-core/src/agent/orchestration/tools/spawn_subagent_host_impl.rs b/crates/openhuman-core/src/agent/orchestration/tools/spawn_subagent_host_impl.rsindex 1c5c9d5534..b5512a9837 100644--- a/crates/openhuman-core/src/agent/orchestration/tools/spawn_subagent_host_impl.rs+++ b/crates/openhuman-core/src/agent/orchestration/tools/spawn_subagent_host_impl.rs@@ -106,6 +106,22 @@ impl SpawnSubagentTool {prompt);}+ prompt = match crate::attachments::delegation_prompt(+ &dispatch,+ &prompt,+ &args,+ workspace_descriptor.as_ref(),+ run_context.origin.as_ref(),+ )+ .await+ {+ Ok(prompt) => prompt,+ Err(error) => {+ return Ok(ToolResult::error(format!(+ "image forwarding failed: {error}"+ )));+ }+ };if definition.id == "vision_agent" {match crate::attachments::has_resolvable_image(&dispatch,