Skip to content

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

fix: remove unused tenant import

Steven Enamakel408fd978f70b
diff --git a/crates/openhuman-core/src/agent/orchestration/background_delivery.rs b/crates/openhuman-core/src/agent/orchestration/background_delivery.rs
index 0f207f17bc..a25a8853bd 100644
--- a/crates/openhuman-core/src/agent/orchestration/background_delivery.rs
+++ b/crates/openhuman-core/src/agent/orchestration/background_delivery.rs
@@ -53,7 +53,6 @@ use super::busy_guard::{busy, clear_busy_for_thread, TurnBusy};
use super::completion_notice::build_undelivered_notice;
use super::completion_owners;
use super::delivery_drain::{run_drain, DrainFence, DrainOutcome, RECOVERY_BUSY_POLL};
-use crate::core::runtime::tenant;
use crate::core::runtime::CoreContext;
/// Coalesce completions landing within this window into one delivery turn.
@@ -64,7 +63,7 @@ const DEBOUNCE: Duration = Duration::from_secs(3);
const RECOVERY_DELAY: Duration = Duration::from_secs(15);
/// Threads whose delivery turn is in flight — prevents two concurrent turns.
-/// Keyed by [`tenant::profile_key_in`] of the thread id, for the same reason.
+/// Keyed by the tenant profile derived from the thread id, for the same reason.
fn delivering() -> &'static Mutex<HashSet<String>> {
static D: OnceLock<Mutex<HashSet<String>>> = OnceLock::new();
D.get_or_init(|| Mutex::new(HashSet::new()))