Skip to content

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

test(session-host): cover driver session lifecycle

Steven Enamakelf1d72fad953a
diff --git a/crates/openhuman-core/src/agent/session_host/driver_tests.rs b/crates/openhuman-core/src/agent/session_host/driver_tests.rs
index 76e6483286..f497e1fc48 100644
--- a/crates/openhuman-core/src/agent/session_host/driver_tests.rs
+++ b/crates/openhuman-core/src/agent/session_host/driver_tests.rs
@@ -91,6 +91,8 @@ fn graph_failure_copies_snapshot_usage_and_failed_tool_outcome_to_sidecar() {
input_tokens: 21,
output_tokens: 8,
cached_input_tokens: 3,
+ last_call_input_tokens: 13,
+ last_call_output_tokens: 5,
charged_amount_usd: 0.004,
resolved_route: Some(tinyinference_llm::model::ResolvedModelRoute::new(
"openhuman",