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
refactor(subagent_host): simplify terminal outcome check in checkpoint loading
Steven Enamakel86a79e901781
diff --git a/crates/openhuman-core/src/agent/subagent_host/lifecycle/persistence.rs b/crates/openhuman-core/src/agent/subagent_host/lifecycle/persistence.rsindex f30f4158ef..471202cf74 100644--- a/crates/openhuman-core/src/agent/subagent_host/lifecycle/persistence.rs+++ b/crates/openhuman-core/src/agent/subagent_host/lifecycle/persistence.rs@@ -386,10 +386,7 @@ impl OpenHumanPersistence {&self,key: &SubagentTaskKey,) -> Result<Option<SubagentCheckpointData>, SubagentError> {- if self.file_store.terminal_outcome(key).map_err(map_lifecycle_error)?.is_some() {- return Ok(None);- }- if self.terminal_path(key).exists() {+ if self.file_store.terminal_outcome(key)?.is_some() {return Ok(None);}if self.terminal_path(key).exists() {