The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
refactor(orchestration): use current tenant for completion owner profile
Steven Enamakel62e567270142
diff --git a/crates/openhuman-core/src/agent/orchestration/completion_owners.rs b/crates/openhuman-core/src/agent/orchestration/completion_owners.rsindex 599e86fc50..ef26e8f40b 100644--- a/crates/openhuman-core/src/agent/orchestration/completion_owners.rs+++ b/crates/openhuman-core/src/agent/orchestration/completion_owners.rs@@ -44,8 +44,7 @@ fn owners() -> MutexGuard<'static, Owners> {/// Note the calling task's profile as an owner of each id. A no-op outside a/// profile (the desktop, embedded agents).pub(crate) fn note(ids: &[&str]) {- let Some(profile) = CoreContext::current().and_then(|ctx| ctx.profile().map(str::to_owned))- else {+ let Ok(Some(profile)) = crate::core::runtime::current_tenant().map(|t| t.profile) else {return;};note_profile(ids, &profile);