This commit is contained in:
Laisky.Cai 2024-02-29 09:11:01 +00:00
parent 1a036d977e
commit c849292621

View File

@ -126,7 +126,7 @@ func (channel *Channel) Update() (err error) {
models := strings.Split(channel.Models, ",") models := strings.Split(channel.Models, ",")
var filteredModels []string var filteredModels []string
for _, model := range models { for _, model := range models {
if _, ok := mapping[model]; ok { if _, ok := mapping[model]; !ok {
filteredModels = append(filteredModels, model) filteredModels = append(filteredModels, model)
} }
} }