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

hotfix: doubao display name
This commit is contained in:
Dogtiti 2024-07-11 14:57:21 +08:00 committed by GitHub
commit 89049e1a22
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

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