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(session_host): pass dispatch_ctx to accounting function
Steven Enamakelb3d24b20696f
diff --git a/crates/openhuman-core/src/agent/session_host/runtime_session/post_commit.rs b/crates/openhuman-core/src/agent/session_host/runtime_session/post_commit.rsindex 7d3c7659a1..5290d1a782 100644--- a/crates/openhuman-core/src/agent/session_host/runtime_session/post_commit.rs+++ b/crates/openhuman-core/src/agent/session_host/runtime_session/post_commit.rs@@ -226,6 +226,7 @@ pub(super) async fn finalize_committed_turn(// accounting runs after it in the background; the next// turn awaits it before reading the goal.let goal_accounting = {+ let dispatch = receipt.options.context.dispatch_ctx();let prelude = prelude.clone();let thread_id = receipt.options.context.thread_id.clone();let sidecar = sidecar.clone();@@ -236,7 +237,7 @@ pub(super) async fn finalize_committed_turn(let started = std::time::Instant::now();super::account_committed_turn_against_goal(&prelude.workspace_dir,- &receipt.options.context.dispatch_ctx(),+ &dispatch,thread_id.as_deref(),&sidecar,)