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): update goal accounting calls with ambient dispatch context
Steven Enamakel30529b5b86e2
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 6df40fd00f..a3f4e7301a 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@@ -318,7 +318,13 @@ async fn committed_goal_accounting_uses_direct_and_completed_child_usage() {},};sidecar.subagents.push(child);- account_committed_turn_against_goal(workspace.path(), Some("receipt-goal"), &sidecar).await;+ account_committed_turn_against_goal(+ workspace.path(),+ &crate::core::runtime::DispatchCtx::ambient(),+ Some("receipt-goal"),+ &sidecar,+ )+ .await;let goal = tinyagents_harness_tools::goals::store::get(&goal_store, "receipt-goal").awaitdiff --git a/crates/openhuman-core/src/agent/session_host/runtime_adapter_usage_tests.rs b/crates/openhuman-core/src/agent/session_host/runtime_adapter_usage_tests.rsindex dd3cf86088..49e4bed623 100644--- a/crates/openhuman-core/src/agent/session_host/runtime_adapter_usage_tests.rs+++ b/crates/openhuman-core/src/agent/session_host/runtime_adapter_usage_tests.rs@@ -103,6 +103,7 @@ async fn committed_goal_accounting_saturates_direct_plus_inclusive_child_tokens(runtime_session::account_committed_turn_against_goal(workspace.path(),+ &crate::core::runtime::DispatchCtx::ambient(),Some("saturated-goal"),&sidecar,)