Skip to content

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

refactor(profiles): simplify host profile resolution

Steven Enamakeldad1a33267d1
diff --git a/crates/openhuman-core/src/profiles/host.rs b/crates/openhuman-core/src/profiles/host.rs
index 912cf59c3b..b7f8ad52c4 100644
--- a/crates/openhuman-core/src/profiles/host.rs
+++ b/crates/openhuman-core/src/profiles/host.rs
@@ -372,6 +372,7 @@ impl ProfileHost {
// so recover them in this profile's scope (on every open): the drains then run as this profile, on its tables alone.
CoreContext::sync_scope(Arc::clone(&context), || {
crate::agent::orchestration::background_delivery::recover_on_open(
+ &crate::core::runtime::DispatchCtx::new(Arc::clone(&context)),
&layout.workspace_dir,
crate::agent::orchestration::delivery_drain::DrainFence::of(Arc::clone(&fence)),
)