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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user