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
fix(agent): restore runtime adapter test coverage
Steven Enamakel4d0329e46418
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 8729367b9a..15481e0a21 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@@ -175,9 +175,13 @@ fn codec_attaches_only_this_agents_own_sidecar_usage_to_atomic_append() {"the child entry survives on the ledger for the live projection");assert_eq!(usage.iteration, 2);- assert_eq!(usage.tool_calls.len(), 1);- assert_eq!(usage.tool_calls[0].id, "call-usage");- assert_eq!(usage.tool_calls[0].arguments, r#"{"path":"Cargo.toml"}"#);+ // The turn's tool outcomes are NOT copied onto the usage record: it lands+ // on the final answer row, and every call is already recorded once in the+ // envelope of the assistant row that issued it.+ assert!(+ usage.tool_calls.is_empty(),+ "usage must not duplicate the turn's tool calls onto the answer row"+ );}#[test]