Skip to content

Commit

Permalink
Merge pull request ChatGPTNextWeb#4974 from ConnectAI-E/hotfix/bytedance
Browse files Browse the repository at this point in the history
hotfix: doubao display name
  • Loading branch information
Dogtiti authored Jul 11, 2024
2 parents f8c2732 + 5e7254e commit 89049e1
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 89049e1

Please sign in to comment.