feat: close #3304 use `=` instead of `:` to map model name in CUSTOM_MODELS

This commit is contained in:
Yidadaa 2023-11-19 18:34:39 +08:00
parent dc7159a450
commit 45b88ebb2a
1 changed files with 1 additions and 1 deletions

View File

@ -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") {