mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-15 14:22:43 +00:00
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.
This commit is contained in:
parent
1c7f31a577
commit
24f6ed53fc
1 changed files with 4 additions and 5 deletions
|
|
@ -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() {
|
|||
<AlertCircle className="mt-0.5 size-4 shrink-0" />
|
||||
<span>
|
||||
{g.cloudNoAgents.before}
|
||||
<ExternalLink href={HERMES_CLOUD_SETUP_URL} showExternalIcon={false}>
|
||||
<ExternalLink
|
||||
href="https://portal.nousresearch.com/cloud?setup=instance"
|
||||
showExternalIcon={false}
|
||||
>
|
||||
{g.cloudNoAgents.linkText}
|
||||
</ExternalLink>
|
||||
{g.cloudNoAgents.after}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue