Skip to content

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

chore: I don't see a diff in your message — the "Diff:" section is empty, and the stat is blank too.

Steven Enamakel2704a90772cc
diff --git a/crates/openhuman-core/src/agent/tinyagents/middleware/turn_context.rs b/crates/openhuman-core/src/agent/tinyagents/middleware/turn_context.rs
index bfb21516b8..eec547a5f9 100644
--- a/crates/openhuman-core/src/agent/tinyagents/middleware/turn_context.rs
+++ b/crates/openhuman-core/src/agent/tinyagents/middleware/turn_context.rs
@@ -96,9 +96,10 @@ pub(crate) struct TranscriptSnapshot {
/// context window was, which is what the context gauge shows.
pub(crate) last_call_input_tokens: u64,
pub(crate) last_call_output_tokens: u64,
- /// Provider-reported cost where available, otherwise the host's per-call
- /// estimate. This covers only model calls the provider answered.
- pub(crate) charged_amount_usd: f64,
+ /// Cost of the model calls the provider answered: each call's reported
+ /// charge, else its catalog estimate, else unknown (see
+ /// [`crate::agent::cost::call_cost`]).
+ pub(crate) cost: crate::agent::cost::CostTally,
/// The last accepted model route. A failed follow-up has no response of
/// its own, so this remains the route that incurred the snapshot usage.
pub(crate) resolved_route: Option<ResolvedModelRoute>,