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): stop rewriting subagent status and failure text
Steven Enamakelaa3b9d1c81ac
diff --git a/crates/openhuman-core/src/agent/orchestration/tools/spawn_subagent_completion.rs b/crates/openhuman-core/src/agent/orchestration/tools/spawn_subagent_completion.rsindex 02d151b67f..3bb44d99d7 100644--- a/crates/openhuman-core/src/agent/orchestration/tools/spawn_subagent_completion.rs+++ b/crates/openhuman-core/src/agent/orchestration/tools/spawn_subagent_completion.rs@@ -56,16 +56,7 @@ pub(super) fn make_completion(let result = result.map_err(anyhow::Error::msg);match result {Ok(outcome) => {- let status = if matches!(outcome.status, SubagentRunStatus::Completed)- && super::super::dispatch::is_unexecuted_tool_call_stub(&outcome.output)- {- SubagentRunStatus::Incomplete {- reason: "returned an unexecuted tool call instead of a result"- .to_string(),- }- } else {- outcome.status.clone()- };+ let status = outcome.status.clone();match status.clone() {SubagentRunStatus::Completed => {if let Err(err) = subagent_sessions::mark_finished(@@ -319,10 +310,7 @@ pub(super) fn make_completion(}Err(err) => {let error = err.to_string();- let failure = super::super::dispatch::format_subagent_failure(- "spawn_subagent",- &error,- );+ let failure = error.clone();if let Err(store_err) = subagent_sessions::mark_failed(&background_store,&background_subagent_session_id,