mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-05-19 04:00:16 +09:00
Merge pull request #4974 from ConnectAI-E/hotfix/bytedance
hotfix: doubao display name
This commit is contained in:
commit
89049e1a22
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user