Skip to content

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

test(subagent_host): cover usage fields in lifecycle store fixtures

Steven Enamakel114efb6d9019
diff --git a/crates/openhuman-core/src/agent/subagent_host/lifecycle_store_tests.rs b/crates/openhuman-core/src/agent/subagent_host/lifecycle_store_tests.rs
index bda2181c84..fea2bdd60e 100644
--- a/crates/openhuman-core/src/agent/subagent_host/lifecycle_store_tests.rs
+++ b/crates/openhuman-core/src/agent/subagent_host/lifecycle_store_tests.rs
@@ -19,7 +19,7 @@ fn pause_json(key: &SubagentTaskKey) -> serde_json::Value {
"created_at": "2026-10-01T00:00:00Z",
"output": "partial",
"iterations": 2,
- "usage": {},
+ "usage": {"input_tokens": 1, "output_tokens": 2, "cached_input_tokens": 0, "charged_amount_usd": 0.0},
"artifact_paths": [],
"elapsed_ms": 40
})