chore: replace all cn comments of fe to en version by volc api (#320)

This commit is contained in:
tecvan
2025-07-31 10:32:15 +08:00
committed by GitHub
parent 716ec0cba8
commit 71f6245a01
2960 changed files with 15545 additions and 15545 deletions

View File

@@ -32,7 +32,7 @@ export type TGetModelCapabilityConfig = (params: {
getModelById: (id: string) => Model | undefined;
}) => ModelCapabilityConfig;
// 模型能力配置的 fallback没有配置的能力按支持处理
// Fallback of model capability configuration, capability without configuration is handled as supported
export const defaultModelCapConfig = Object.values(ModelFuncConfigType).reduce(
(res, type) => ({
...res,
@@ -56,7 +56,7 @@ const mergeModelCapabilityConfig = (
target
? Object.entries(target).reduce<ModelCapabilityConfig>(
(merged, [key, status]) => {
// 未配置的能力视为完全支持
// Unconfigured capabilities are considered fully supported
const [preStatus, preName] = merged[
key as unknown as ModelFuncConfigType
] ?? [ModelFuncConfigStatus.FullSupport, []];

View File

@@ -41,7 +41,7 @@ export function convertModelValueType(
return Number(value);
}
// 理论上不走这里
// Theoretically not going here
primitiveExhaustiveCheck(type);
return value;
}