mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-07-24 12:44:18 +08:00
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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user