Skip to content

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

chore: files changed crates/openhuman-core/src/agent/session_host/builder/factory.rs

Steven Enamakelc46d850fa5ff
diff --git a/crates/openhuman-core/src/agent/session_host/builder/factory.rs b/crates/openhuman-core/src/agent/session_host/builder/factory.rs
index 0a2924c8a2..2ea92c58f7 100644
--- a/crates/openhuman-core/src/agent/session_host/builder/factory.rs
+++ b/crates/openhuman-core/src/agent/session_host/builder/factory.rs
@@ -78,6 +78,9 @@ impl OpenHumanSessionHost {
/// The welcome agent uses this entry point when routed from the
/// Tauri web channel (see `channels::provider::web::build_session_agent`).
pub fn from_config_for_agent(config: &Config, agent_id: &str) -> Result<Self> {
+ // A hosted profile never receives the ordinary config-derived belt.
+ // Its operator-selected factory carries registration and permission
+ // boundaries into the same session builder, under this profile scope.
if crate::profiles::capabilities::ProfileCapabilities::current().is_some() {
return Self::from_config_for_agent_session(config, agent_id, None);
}