The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
chore: files changed crates/openhuman-core/src/agent/context_breakdown.rs
Steven Enamakela9ae3885fd05
diff --git a/crates/openhuman-core/src/agent/context_breakdown.rs b/crates/openhuman-core/src/agent/context_breakdown.rsindex 950cd61565..274ab966d7 100644--- a/crates/openhuman-core/src/agent/context_breakdown.rs+++ b/crates/openhuman-core/src/agent/context_breakdown.rs@@ -145,7 +145,7 @@ async fn history_section(thread_id: &str) -> Option<ContextSection> {// Tokens, not bytes, is what `token_usage` actually recorded — reverse// the module's own byte-per-token estimate so `bytes` stays a consistent// (if approximate) unit across every section in the response.- let est = usage.last_turn_input_tokens as usize;+ let est = usage.last_turn_context_tokens as usize;let bytes = est.saturating_mul(crate::agent::debug::prompt_size::EST_BYTES_PER_TOKEN);Some(ContextSection {label: "history".to_string(),