Skip to content

Commit

Permalink
hotfix: doubao display name
Browse files Browse the repository at this point in the history
  • Loading branch information
lloydzhou committed Jul 11, 2024
1 parent f8c2732 commit 5e7254e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/utils/model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export function collectModelTable(
modelTable[fullName]["available"] = available;
// swap name and displayName for bytedance
if (providerName === "bytedance") {
[name, displayName] = [displayName, name];
[name, displayName] = [displayName, modelName];
modelTable[fullName]["name"] = name;
}
if (displayName) {
Expand Down

0 comments on commit 5e7254e

Please sign in to comment.