Skip to content

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

chore(session_host): trim stale comment in agent factory

Steven Enamakel41074e4e91b7
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 a2a68a54c4..38e841057f 100644
--- a/crates/openhuman-core/src/agent/session_host/builder/factory.rs
+++ b/crates/openhuman-core/src/agent/session_host/builder/factory.rs
@@ -78,8 +78,7 @@ 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 bounds.
+ // A hosted profile never receives the ordinary config-derived belt.
let ambient = DispatchCtx::ambient();
if crate::profiles::capabilities::ProfileCapabilities::in_ctx(&ambient).is_some() {
return Self::from_config_for_agent_session(config, agent_id, None);