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.
This commit is contained in:
Jason
2026-02-19 23:19:44 +08:00
parent 0fa6b33b5e
commit 3125b5419c
3 changed files with 21 additions and 14 deletions
+4 -1
View File
@@ -44,7 +44,8 @@ import { AboutSection } from "@/components/settings/AboutSection";
import { GlobalProxySettings } from "@/components/settings/GlobalProxySettings";
import { ProxyPanel } from "@/components/proxy";
import { PricingConfigPanel } from "@/components/usage/PricingConfigPanel";
import { ModelTestConfigPanel } from "@/components/usage/ModelTestConfigPanel";
// Hidden: stream check feature disabled
// import { ModelTestConfigPanel } from "@/components/usage/ModelTestConfigPanel";
import { AutoFailoverConfigPanel } from "@/components/proxy/AutoFailoverConfigPanel";
import { FailoverQueueManager } from "@/components/proxy/FailoverQueueManager";
import { UsageDashboard } from "@/components/usage/UsageDashboard";
@@ -515,6 +516,7 @@ export function SettingsPage({
</AccordionContent>
</AccordionItem>
{/* Hidden: stream check feature disabled
<AccordionItem
value="test"
className="rounded-xl glass-card overflow-hidden"
@@ -536,6 +538,7 @@ export function SettingsPage({
<ModelTestConfigPanel />
</AccordionContent>
</AccordionItem>
*/}
<AccordionItem
value="pricing"