Skip to content

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

refactor(session_host): extract post-commit handling into its own module

Steven Enamakele47551e267d6
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.rs
index 49fb8f7262..f7753d4f4d 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
@@ -214,7 +214,7 @@ pub(super) async fn finalize_committed_turn(
}
};
let (_, pending) = complete_then_defer(
- &receipt.options.run_context.data.dispatch_ctx(),
+ &receipt.options.context.dispatch_ctx(),
super::progress::send_receipt_progress(&receipt, &input, &output, iterations),
goal_accounting,
)