mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-10-09 11:36:38 +08:00
fix: close 5315
This commit is contained in:
parent
cdd74de666
commit
78111a1bc1
@ -72,6 +72,8 @@ export function collectModelTable(
|
|||||||
if (match) {
|
if (match) {
|
||||||
customModelName = match[2];
|
customModelName = match[2];
|
||||||
customProviderName = match[3]?.slice(1) || customModelName;
|
customProviderName = match[3]?.slice(1) || customModelName;
|
||||||
|
} else {
|
||||||
|
[customModelName, customProviderName] = name.split("@");
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
[customModelName, customProviderName] = name.split("@");
|
[customModelName, customProviderName] = name.split("@");
|
||||||
|
Loading…
Reference in New Issue
Block a user