feat(provider): enable endpoint management for aggregator providers

Allow aggregator category providers (like AiHubMix) to access the endpoint
speed test and management features, previously limited to third-party and
custom providers only.
This commit is contained in:
Jason
2025-11-02 23:40:11 +08:00
parent b4f10d8316
commit ab2833e626

View File

@@ -336,9 +336,11 @@ export function ProviderForm({
);
}, [groupedPresets]);
// 判断是否显示端点测速(第三方和自定义类别)
// 判断是否显示端点测速(聚合服务、第三方和自定义类别)
const shouldShowSpeedTest =
category === "third_party" || category === "custom";
category === "aggregator" ||
category === "third_party" ||
category === "custom";
// 使用 API Key 链接 hook (Claude)
const {