forked from XiaoMo/ChatGPT-Next-Web
feat: close #3304 use =
instead of :
to map model name in CUSTOM_MODELS
This commit is contained in:
parent
dc7159a450
commit
45b88ebb2a
@ -26,7 +26,7 @@ export function collectModelTable(
|
||||
const available = !m.startsWith("-");
|
||||
const nameConfig =
|
||||
m.startsWith("+") || m.startsWith("-") ? m.slice(1) : m;
|
||||
const [name, displayName] = nameConfig.split(":");
|
||||
const [name, displayName] = nameConfig.split("=");
|
||||
|
||||
// enable or disable all models
|
||||
if (name === "all") {
|
||||
|
Loading…
Reference in New Issue
Block a user