-
+
+
+
+
+
+ {backend.fields.map((field) => {
+ const configured = Boolean(currentSection?.[`${field.key}Configured`]);
+ const masked = String(currentSection?.[`${field.key}Masked`] ?? '');
+ return (
+
+ );
+ })}
+
+
+ {isModelBackend(backend.key) && (
+ <>
+
+
+
+
+
+
+ 生效模型:{describeEffectiveModelSource(section, providerKeys, globalModelSettings)}
+
+ {!providerKeys.length && (
+
+ 统一模型中心当前没有可用的激活 key,请先到“统一模型中心”配置 provider key 与模型列表。
+
+ )}
+ >
+ )}
+
+
+
+ {section.enabled ? `${backend.label} 已启用` : `${backend.label} 未启用`}
+
-
- {backend.fields.map((field) => {
- const configured = Boolean(currentSection?.[`${field.key}Configured`]);
- const masked = String(currentSection?.[`${field.key}Masked`] ?? '');
- return (
-
- );
- })}
-
-
- {isModelBackend(backend.key) && (
- <>
-
-
-
-
-
-
- 当前生效模型链路:{describeEffectiveModelSource(section, providerKeys, globalModelSettings)}
-
- {!providerKeys.length && (
-
- 统一模型中心当前没有可用的激活 key,请先到“统一模型中心”配置 provider key 与模型列表。
-
- )}
- >
- )}
-
+
);
})}
-
-
-
-