Skip to content

The agent that grows with you

Revert "feat(desktop): error card offers Nous support link on Portal-auth sessions"

Teknium3903428a7202
diff --git a/apps/desktop/src/components/assistant-ui/thread/assistant-message.tsx b/apps/desktop/src/components/assistant-ui/thread/assistant-message.tsx
index 4b9c12c8815..a8b9729e78a 100644
--- a/apps/desktop/src/components/assistant-ui/thread/assistant-message.tsx
+++ b/apps/desktop/src/components/assistant-ui/thread/assistant-message.tsx
@@ -31,7 +31,6 @@ import { Codicon } from '@/components/ui/codicon'
import { CopyButton } from '@/components/ui/copy-button'
import { useI18n } from '@/i18n'
import { type ErrorSurface, formatErrorDiagnostics } from '@/lib/error-surface'
-import { openExternalLink } from '@/lib/external-link'
import { triggerHaptic } from '@/lib/haptics'
import { AudioLines, GitForkIcon, Loader2Icon, RefreshCwIcon, SmilePlusIcon, VolumeXIcon, XIcon } from '@/lib/icons'
import { extractPreviewTargets } from '@/lib/preview-targets'
@@ -40,17 +39,13 @@ import { useEnterAnimation } from '@/lib/use-enter-animation'
import { cn } from '@/lib/utils'
import { playSpeechText, stopVoicePlayback } from '@/lib/voice-playback'
import { notifyError } from '@/store/notifications'
-import { $currentModel, $currentProvider } from '@/store/session'
+import { $currentModel } from '@/store/session'
import { $voicePlayback } from '@/store/voice-playback'
// Stable empty identity for the settled-parts selector — a fresh [] per render
// would re-derive the changed-files card on every message re-render.
const EMPTY_PARTS: readonly unknown[] = []
-// Nous Portal's help hub (docs, Discord, GitHub, support) — the error card's
-// "Nous support" action for sessions running on Portal auth.
-const NOUS_SUPPORT_URL = 'https://portal.nousresearch.com/help'
-
// PERF: hoisted to module scope so the element OBJECT is identical on every
// render of every assistant message. React bails out of re-rendering a child
// whose element identity is unchanged, so a status flip on the message root
@@ -495,13 +490,6 @@ const ErrorRecoveryActions: FC = () => {
// child mounts only when one is (see SwitchProviderAction).
const inRouter = useInRouterContext()
const model = useStore($currentModel)
- const provider = useStore($currentProvider)
-
- // Nous Portal users get a direct line to Nous support (docs/Discord/GitHub
- // hub behind their portal account). Provider === 'nous' means the session
- // runs on Portal auth — the "logged in" signal that's available
- // synchronously without an extra billing query per error card.
- const showNousSupport = provider.trim().toLowerCase() === 'nous'
// Retry = assistant-ui reload (same wiring as the footer's refresh action):
// re-runs the failed turn's prompt in place. Suppressed when the classifier
@@ -553,15 +541,6 @@ const ErrorRecoveryActions: FC = () => {
</ActionBarPrimitive.Reload>
)}
{showSwitchProvider && inRouter && <SwitchProviderAction label={copy.errorSwitchProvider} />}
- {showNousSupport && (
- <button
- className="aui-error-action"
- onClick={() => openExternalLink(NOUS_SUPPORT_URL)}
- type="button"
- >
- {copy.errorNousSupport}
- </button>
- )}
{window.hermesDesktop?.logsRoot && (
<button className="aui-error-action" onClick={() => void openLogs()} type="button">
{copy.errorOpenLogs}
diff --git a/apps/desktop/src/i18n/ar.ts b/apps/desktop/src/i18n/ar.ts
index 694db87779d..86eaa3b2297 100644
--- a/apps/desktop/src/i18n/ar.ts
+++ b/apps/desktop/src/i18n/ar.ts
@@ -2449,7 +2449,6 @@ export const ar = defineLocale({
errorSwitchProvider: 'تبديل المزوّد',
errorOpenLogs: 'فتح السجلات',
errorOpenLogsFailed: 'تعذّر فتح مجلد السجلات',
- errorNousSupport: 'دعم Nous',
errorCopyDiagnostics: 'نسخ التشخيصات',
filesChanged: count => `${count} ملفات تم تغييرها`,
reviewChanges: 'مراجعة',
diff --git a/apps/desktop/src/i18n/en.ts b/apps/desktop/src/i18n/en.ts
index 7f1fa96d044..5870321a6a5 100644
--- a/apps/desktop/src/i18n/en.ts
+++ b/apps/desktop/src/i18n/en.ts
@@ -3094,7 +3094,6 @@ export const en: Translations = {
errorSwitchProvider: 'Switch provider',
errorOpenLogs: 'Open logs',
errorOpenLogsFailed: 'Could not open the logs folder',
- errorNousSupport: 'Nous support',
errorCopyDiagnostics: 'Copy diagnostics',
filesChanged: count => (count === 1 ? '1 file changed' : `${count} files changed`),
reviewChanges: 'Review',
diff --git a/apps/desktop/src/i18n/ja.ts b/apps/desktop/src/i18n/ja.ts
index 7661d15cf9e..e1a492ecb88 100644
--- a/apps/desktop/src/i18n/ja.ts
+++ b/apps/desktop/src/i18n/ja.ts
@@ -2746,7 +2746,6 @@ export const ja = defineLocale({
errorSwitchProvider: 'プロバイダーを切り替え',
errorOpenLogs: 'ログを開く',
errorOpenLogsFailed: 'ログフォルダを開けませんでした',
- errorNousSupport: 'Nousサポート',
errorCopyDiagnostics: '診断情報をコピー',
filesChanged: count => `${count} 件のファイルを変更`,
reviewChanges: 'レビュー',
diff --git a/apps/desktop/src/i18n/types.ts b/apps/desktop/src/i18n/types.ts
index ccb3073e699..dc8151982ea 100644
--- a/apps/desktop/src/i18n/types.ts
+++ b/apps/desktop/src/i18n/types.ts
@@ -2665,7 +2665,6 @@ export interface Translations {
errorSwitchProvider: string
errorOpenLogs: string
errorOpenLogsFailed: string
- errorNousSupport: string
errorCopyDiagnostics: string
filesChanged: (count: number) => string
reviewChanges: string
diff --git a/apps/desktop/src/i18n/zh-hant.ts b/apps/desktop/src/i18n/zh-hant.ts
index 3476bd90ac2..378a90662af 100644
--- a/apps/desktop/src/i18n/zh-hant.ts
+++ b/apps/desktop/src/i18n/zh-hant.ts
@@ -2656,7 +2656,6 @@ export const zhHant = defineLocale({
errorSwitchProvider: '切換服務商',
errorOpenLogs: '開啟日誌',
errorOpenLogsFailed: '無法開啟日誌資料夾',
- errorNousSupport: 'Nous 支援',
errorCopyDiagnostics: '複製診斷資訊',
filesChanged: count => `${count} 個檔案已變更`,
reviewChanges: '檢視',
diff --git a/apps/desktop/src/i18n/zh.ts b/apps/desktop/src/i18n/zh.ts
index 96d1b911a89..5cdbc9db259 100644
--- a/apps/desktop/src/i18n/zh.ts
+++ b/apps/desktop/src/i18n/zh.ts
@@ -3258,7 +3258,6 @@ export const zh: Translations = {
errorSwitchProvider: '切换服务商',
errorOpenLogs: '打开日志',
errorOpenLogsFailed: '无法打开日志文件夹',
- errorNousSupport: 'Nous 支持',
errorCopyDiagnostics: '复制诊断信息',
filesChanged: count => `${count} 个文件已更改`,
reviewChanges: '查看',
diff --git a/website/docs/user-guide/desktop.md b/website/docs/user-guide/desktop.md
index cb34efe7001..ea4ca3b93ee 100644
--- a/website/docs/user-guide/desktop.md
+++ b/website/docs/user-guide/desktop.md
@@ -420,9 +420,6 @@ generic error toast. The card offers recovery actions matched to the failure:
deterministically reproduce the failure, e.g. a content-policy rejection).
- **Switch provider** — jumps to Settings → Models for provider, endpoint,
auth, and billing failures.
-- **Nous support** — shown when the session runs on Nous Portal auth; opens
- the [portal help hub](https://portal.nousresearch.com/help) (docs, Discord,
- GitHub) in your browser.
- **Open logs** — opens `HERMES_HOME/logs` in your file manager.
- **Copy diagnostics** — copies a compact plain-text summary (layer, code,
provider/model, error message) you can paste into a bug report or Discord.