Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
lloydzhou committed Jul 9, 2024
1 parent c229d2c commit b302354
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions app/utils/model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit b302354

Please sign in to comment.