Skip to content

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

fix(subagent-host): log call cost with debug formatting

Steven Enamakel03888bc55351
diff --git a/crates/openhuman-core/src/agent/subagent_host/ops/graph/dispatch.rs b/crates/openhuman-core/src/agent/subagent_host/ops/graph/dispatch.rs
index 071eae563c..8edb389e77 100644
--- a/crates/openhuman-core/src/agent/subagent_host/ops/graph/dispatch.rs
+++ b/crates/openhuman-core/src/agent/subagent_host/ops/graph/dispatch.rs
@@ -424,7 +424,7 @@ pub(in super::super) async fn run_subagent_via_graph(
input_tokens = u.input_tokens,
output_tokens = u.output_tokens,
cached_input_tokens = u.cached_input_tokens(),
- call_cost,
+ ?call_cost,
"[subagent] cap-hit summary call folded + priced + recorded into cost tracker (#4467, item 2)"
);
}