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(agent): use content field and borrow session id
Steven Enamakel7b23dd85696c
diff --git a/crates/openhuman-core/src/agent/subagent_host/lifecycle_tests.rs b/crates/openhuman-core/src/agent/subagent_host/lifecycle_tests.rsindex 257e42b1c0..bf1a46da96 100644--- a/crates/openhuman-core/src/agent/subagent_host/lifecycle_tests.rs+++ b/crates/openhuman-core/src/agent/subagent_host/lifecycle_tests.rs@@ -467,7 +467,7 @@ async fn driver_inline_projection_returns_the_durable_winner_not_a_local_loser()SubagentRunStatus::Incomplete { ref reason } if reason == "winner stopped"));assert_eq!(projected.final_history.len(), 1);- assert_eq!(projected.final_history[0].text(), "durable winning history");+ assert_eq!(projected.final_history[0].content, "durable winning history");assert_eq!(projected.persistence_disposition, Disposition::TerminalExisting);}diff --git a/crates/openhuman-core/src/agent_runs/subagent_control.rs b/crates/openhuman-core/src/agent_runs/subagent_control.rsindex 22267cbcf7..503d67b5d0 100644--- a/crates/openhuman-core/src/agent_runs/subagent_control.rs+++ b/crates/openhuman-core/src/agent_runs/subagent_control.rs@@ -182,7 +182,7 @@ fn handle_subagent_cancel(ctx: DispatchCtx, params: Map<String, Value>) -> Contrmeta.parent_thread_id.clone(),).await;- if let Some(subagent_session_id) = meta.subagent_session_id {+ if let Some(subagent_session_id) = meta.subagent_session_id.as_deref() {let store =subagent_sessions::SubagentSessionStore::new(meta.workspace_dir);if let Err(err) = subagent_sessions::mark_failed(