From 24f6ed53fc1e4f8dc3b30d4d4633301b771aa1fb Mon Sep 17 00:00:00 2001 From: Brooklyn Nicholson Date: Fri, 10 Jul 2026 02:01:40 -0500 Subject: [PATCH] simplify(desktop): inline the cloud setup link like the rest of the app Match the sibling pattern (pet-generate/generate-unavailable.tsx): inline the portal URL literal in the ExternalLink href instead of a one-off named const. --- apps/desktop/src/app/settings/gateway-settings.tsx | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/apps/desktop/src/app/settings/gateway-settings.tsx b/apps/desktop/src/app/settings/gateway-settings.tsx index 57ed01dc904..dbabfa32da5 100644 --- a/apps/desktop/src/app/settings/gateway-settings.tsx +++ b/apps/desktop/src/app/settings/gateway-settings.tsx @@ -31,10 +31,6 @@ interface GatewaySettingsState { cloudOrg: string } -// Where the "no agents found" empty state sends you to create one — the Hermes -// Cloud instance-setup flow (?setup=instance deep-links into the create form). -const HERMES_CLOUD_SETUP_URL = 'https://portal.nousresearch.com/cloud?setup=instance' - const EMPTY_STATE: GatewaySettingsState = { envOverride: false, mode: 'local', @@ -868,7 +864,10 @@ export function GatewaySettings() { {g.cloudNoAgents.before} - + {g.cloudNoAgents.linkText} {g.cloudNoAgents.after}