From 3125b5419c2977266db26d57dfcda15e7db17ed0 Mon Sep 17 00:00:00 2001 From: Jason Date: Thu, 19 Feb 2026 23:19:44 +0800 Subject: [PATCH] chore(ui): hide stream check / model test config panels The stream check feature is unreliable due to diverse provider request formats. Comment out the model test config UI in settings page, provider advanced config, and the test button in provider actions. Backend code and i18n keys are preserved for future restoration. --- src/components/providers/ProviderActions.tsx | 10 ++++++---- .../forms/ProviderAdvancedConfig.tsx | 20 ++++++++++--------- src/components/settings/SettingsPage.tsx | 5 ++++- 3 files changed, 21 insertions(+), 14 deletions(-) diff --git a/src/components/providers/ProviderActions.tsx b/src/components/providers/ProviderActions.tsx index d53c0a486..d879ea93f 100644 --- a/src/components/providers/ProviderActions.tsx +++ b/src/components/providers/ProviderActions.tsx @@ -3,12 +3,12 @@ import { Check, Copy, Edit, - Loader2, + // Loader2, // Hidden: stream check feature disabled Minus, Play, Plus, Terminal, - TestTube2, + // TestTube2, // Hidden: stream check feature disabled Trash2, Zap, } from "lucide-react"; @@ -46,14 +46,14 @@ export function ProviderActions({ appId, isCurrent, isInConfig = false, - isTesting, + isTesting: _isTesting, // Hidden: stream check feature disabled isProxyTakeover = false, isOmo = false, isLastOmo = false, onSwitch, onEdit, onDuplicate, - onTest, + onTest: _onTest, // Hidden: stream check feature disabled onConfigureUsage, onDelete, onRemoveFromConfig, @@ -252,6 +252,7 @@ export function ProviderActions({ + {/* Hidden: stream check feature disabled {onTest && (