Skip to content

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

refactor(subagent-host): extract transcript helpers into module

Steven Enamakelab9977ce26f8
diff --git a/crates/openhuman-core/src/agent/subagent_host/ops/graph/transcript.rs b/crates/openhuman-core/src/agent/subagent_host/ops/graph/transcript.rs
index 8f267b6979..cdab13c1bb 100644
--- a/crates/openhuman-core/src/agent/subagent_host/ops/graph/transcript.rs
+++ b/crates/openhuman-core/src/agent/subagent_host/ops/graph/transcript.rs
@@ -78,6 +78,9 @@ pub(super) fn persist_subagent_transcript(
cached_input: usage.cached_input_tokens,
context_window,
cost_usd: usage.charged_amount_usd,
+ // No per-call figure reaches here; readers fall back to the mean
+ // request size (`spend::context_tokens_of`).
+ ..Default::default()
},
ts: now.clone(),
reasoning_content: None,