移除空格,增加custom_models 容错性
This commit is contained in:
parent
3b5b496599
commit
69fcb92a3b
|
@ -76,6 +76,7 @@ export function collectModelTable(
|
|||
// server custom models
|
||||
customModels
|
||||
.split(",")
|
||||
.map((v) => v.trim())
|
||||
.filter((v) => !!v && v.length > 0)
|
||||
.forEach((m) => {
|
||||
const available = !m.startsWith("-");
|
||||
|
|
Loading…
Reference in New Issue