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): handle missing runtime session in team orchestration
Steven Enamakel76be5d57eac1
diff --git a/crates/openhuman-core/src/agent/orchestration/agent_teams/runtime.rs b/crates/openhuman-core/src/agent/orchestration/agent_teams/runtime.rsindex 1f4987b9ed..47e0a7300f 100644--- a/crates/openhuman-core/src/agent/orchestration/agent_teams/runtime.rs+++ b/crates/openhuman-core/src/agent/orchestration/agent_teams/runtime.rs@@ -235,7 +235,7 @@ async fn run_member_loop().await});- let outcome = crate::memory::scope::within(identity, member_turn)+ let outcome = crate::memory::scope::within(identity, Box::pin(member_turn)).await// Flatten: outer Err = root-parent build failure, inner = drive_member result..unwrap_or_else(Err);diff --git a/crates/openhuman-core/src/agent/session_host/runtime_session.rs b/crates/openhuman-core/src/agent/session_host/runtime_session.rsindex 508a712e07..ba0fe61bbf 100644--- a/crates/openhuman-core/src/agent/session_host/runtime_session.rs+++ b/crates/openhuman-core/src/agent/session_host/runtime_session.rs@@ -982,7 +982,7 @@ impl OpenHumanSessionHost {SessionTurnRequest::new(user_message_from_text(user_message)),options,);- let outcome = crate::memory::scope::within_agent_in(config.as_deref(), &agent_id, turn)+ let outcome = crate::memory::scope::within_agent_in(config.as_deref(), &agent_id, Box::pin(turn)).await.map_err(|error| anyhow::anyhow!(error.to_string()))?;Ok(outcome.output.unwrap_or_default())