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
refactor(tinyagents): extract run context into its own module
Steven Enamakel0ca19ce9c33c
diff --git a/crates/openhuman-core/src/agent/tinyagents/host/run_context.rs b/crates/openhuman-core/src/agent/tinyagents/host/run_context.rsindex abcee0de49..f886300d47 100644--- a/crates/openhuman-core/src/agent/tinyagents/host/run_context.rs+++ b/crates/openhuman-core/src/agent/tinyagents/host/run_context.rs@@ -109,6 +109,11 @@ pub(crate) struct SessionTurnSidecar {pub output_tokens: u64,pub cached_input_tokens: u64,pub cost_usd: f64,+ /// Input and output tokens of the turn's final model call. The totals+ /// above sum every call of the turn (its spend); these are the context the+ /// model last held, the numerator of the context-window gauge.+ pub last_call_input_tokens: u64,+ pub last_call_output_tokens: u64,/// The selected model's context window for this exact request. The/// provider response's generic usage cannot represent this host datum.pub context_window: u64,