Skip to content

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

fix(runtime): qualify tenant_in call with its module path

Steven Enamakel3bc34c170d78
diff --git a/crates/openhuman-core/src/core/runtime/dispatch_ctx.rs b/crates/openhuman-core/src/core/runtime/dispatch_ctx.rs
index 3e77b91e02..bd692fcfae 100644
--- a/crates/openhuman-core/src/core/runtime/dispatch_ctx.rs
+++ b/crates/openhuman-core/src/core/runtime/dispatch_ctx.rs
@@ -97,7 +97,7 @@ impl DispatchCtx {
/// agent. Outside SaaS an unresolved context is the default tenant; in SaaS
/// it is [`NoTenant`](super::NoTenant), so the caller fails closed.
pub fn tenant(&self) -> Result<super::Tenant, super::NoTenant> {
- super::tenant_in(super::is_saas(), self.resolved().as_deref())
+ super::tenant::tenant_in(super::is_saas(), self.resolved().as_deref())
}
/// The configuration an embedder supplied for the context this call runs