fix: close 5315

This commit is contained in:
rxliuli 2024-08-26 02:12:18 +08:00
parent cdd74de666
commit 78111a1bc1

View File

@ -72,6 +72,8 @@ export function collectModelTable(
if (match) {
customModelName = match[2];
customProviderName = match[3]?.slice(1) || customModelName;
} else {
[customModelName, customProviderName] = name.split("@");
}
} else {
[customModelName, customProviderName] = name.split("@");