Browse Source

Merge pull request #4974 from ConnectAI-E/hotfix/bytedance

hotfix: doubao display name
Dogtiti 1 year ago
parent
commit
89049e1a22
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/utils/model.ts

+ 1 - 1
app/utils/model.ts

@@ -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) {