Skip to content

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

fix(orchestration): pass initial delay to background delivery

Steven Enamakel1589d07925a0
diff --git a/crates/openhuman-core/src/agent/orchestration/background_delivery.rs b/crates/openhuman-core/src/agent/orchestration/background_delivery.rs
index 1ea6fc3c5b..bdc89e393e 100644
--- a/crates/openhuman-core/src/agent/orchestration/background_delivery.rs
+++ b/crates/openhuman-core/src/agent/orchestration/background_delivery.rs
@@ -377,8 +377,9 @@ where
.await
} else {
delivery
- .deliver_once_with_error(
+ .deliver_once_with_initial_delay(
target,
+ initial_delay,
|| is_busy(&busy_ctx, &thread_id),
fence.clone(),
deliver,