Skip to content

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

refactor(agent): tidy background delivery imports

Steven Enamakeleb581ebaa0ae
diff --git a/crates/openhuman-core/src/agent/orchestration/background_delivery.rs b/crates/openhuman-core/src/agent/orchestration/background_delivery.rs
index 6211ddc522..6582025a5b 100644
--- a/crates/openhuman-core/src/agent/orchestration/background_delivery.rs
+++ b/crates/openhuman-core/src/agent/orchestration/background_delivery.rs
@@ -30,7 +30,6 @@
use std::collections::{HashMap, HashSet};
use std::future::Future;
use std::path::{Path, PathBuf};
-use std::sync::atomic::{AtomicU64, Ordering};
use std::sync::{Arc, Mutex, OnceLock};
use std::time::Duration;
@@ -45,11 +44,10 @@ use tinybus::SubscriptionHandle;
use super::background_completions;
use super::completion_notice::build_undelivered_notice;
-use super::busy_guard::{clear_busy_for_thread, is_busy};
+use super::busy_guard::is_busy;
#[cfg(test)]
-use super::busy_guard::{busy, TurnBusy};
+use super::busy_guard::{busy, clear_busy_for_thread, TurnBusy};
use super::completion_owners;
-use crate::core::runtime::tenant::{self, Tenant};
use crate::core::runtime::CoreContext;
/// Coalesce completions landing within this window into one delivery turn.