Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

chore: files changed crates/openhuman-core/src/agent/subagent_host/lifecycle_outcome.rs

Steven Enamakel4349ea92acf7
diff --git a/crates/openhuman-core/src/agent/subagent_host/lifecycle_outcome.rs b/crates/openhuman-core/src/agent/subagent_host/lifecycle_outcome.rs
index 8857d59cf3..5d52d1e55f 100644
--- a/crates/openhuman-core/src/agent/subagent_host/lifecycle_outcome.rs
+++ b/crates/openhuman-core/src/agent/subagent_host/lifecycle_outcome.rs
@@ -12,7 +12,7 @@ pub(super) fn encode_classified_stop_cause(
) -> serde_json::Value {
let stop = crate::agent::turn_projection::breaker_stop_with_cause(cause.clone());
serde_json::json!({
- "class": stop.failure_class.as_ref().map(|class| class.as_str()),
+ "class": stop.failure_class.as_deref(),
"operation": stop.operation,
})
}