review code

This commit is contained in:
lloydzhou 2024-07-09 13:39:39 +08:00
parent f68cd2c5c0
commit 011b76e4e7
1 changed files with 0 additions and 1 deletions

View File

@ -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
}; };
}); });