mirror of
https://github.com/Yidadaa/ChatGPT-Next-Web.git
synced 2025-08-19 17:42:41 +08:00
review code
This commit is contained in:
@@ -27,7 +27,6 @@ export function collectModelTable(
|
|||||||
// using <modelName>@<providerId> as fullName
|
// using <modelName>@<providerId> as fullName
|
||||||
modelTable[`${m.name}@${m?.provider?.id}`] = {
|
modelTable[`${m.name}@${m?.provider?.id}`] = {
|
||||||
...m,
|
...m,
|
||||||
name,
|
|
||||||
displayName: m.name, // 'provider' is copied over if it exists
|
displayName: m.name, // 'provider' is copied over if it exists
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user