Skip to content

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

chore(profiles): add slot id to in-use debug log

Steven Enamakel16454b249b83
diff --git a/crates/openhuman-core/src/profiles/host.rs b/crates/openhuman-core/src/profiles/host.rs
index a03d87f9a5..1037bc3434 100644
--- a/crates/openhuman-core/src/profiles/host.rs
+++ b/crates/openhuman-core/src/profiles/host.rs
@@ -638,7 +638,7 @@ impl ProfileHost {
/// or a turn still running on its context (a detached turn outlives the
/// request that started it).
fn in_use(slot: &Slot) -> bool {
- log::warn!("DBGINUSE slotstate={} ctx={} agent={}", Arc::strong_count(&slot.state), Arc::strong_count(&slot.state.context), slot.state.context.debug_counts());
+ log::warn!("DBGINUSE {} slotstate={} ctx={} agent={}", slot.state.id, Arc::strong_count(&slot.state), Arc::strong_count(&slot.state.context), slot.state.context.debug_counts());
Arc::strong_count(&slot.state) > 1 || slot.state.context.tenant_in_use()
}