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
test(session_host): cover runtime adapter session lifecycle
Steven Enamakelf65438943ea4
diff --git a/crates/openhuman-core/src/agent/session_host/runtime_adapter_tests.rs b/crates/openhuman-core/src/agent/session_host/runtime_adapter_tests.rsindex 70936744c5..4b4234720e 100644--- a/crates/openhuman-core/src/agent/session_host/runtime_adapter_tests.rs+++ b/crates/openhuman-core/src/agent/session_host/runtime_adapter_tests.rs@@ -166,6 +166,12 @@ fn codec_attaches_only_this_agents_own_sidecar_usage_to_atomic_append() {"the parent's own cache reads, NOT 4");assert_eq!(usage.usage.context_window, 128_000);+ // The final call's size is persisted beside the summed spend, so a thread+ // reopened later can still fill the context gauge correctly.+ assert_eq!(+ (usage.usage.last_call_input, usage.usage.last_call_output),+ (9, 2)+ );assert!((usage.usage.cost_usd - 0.004).abs() < f64::EPSILON,"the parent's own cost, NOT 0.005"