fix: continue message

This commit is contained in:
Timothy J. Baek 2024-11-06 20:53:36 -08:00
parent 580cf6a02c
commit 6dc429504a

View File

@ -1852,7 +1852,7 @@
await tick();
const model = $models
.filter((m) => m.id === responseMessage?.selectedModelId ?? responseMessage.model)
.filter((m) => m.id === (responseMessage?.selectedModelId ?? responseMessage.model))
.at(0);
if (model) {
@ -1871,8 +1871,6 @@
_chatId
);
}
} else {
toast.error($i18n.t(`Model {{modelId}} not found`, { modelId }));
}
};