This commit is contained in:
lloydzhou 2024-07-09 16:55:33 +08:00
parent c229d2c3ce
commit b3023543d6
1 changed files with 1 additions and 3 deletions

View File

@ -61,9 +61,7 @@ export function collectModelTable(
modelTable[fullName]["available"] = available;
// swap name and displayName for bytedance
if (providerName === "bytedance") {
const tempName = name;
name = displayName;
displayName = tempName;
[name, displayName] = [displayName, name];
modelTable[fullName]["name"] = name;
}
if (displayName) {