fix: update models after deleting model info

This commit is contained in:
Jun Siang Cheah 2024-05-09 23:55:56 +08:00
parent 02a4412dfc
commit fa6e21f5e0

View File

@ -551,6 +551,7 @@
toast.success( toast.success(
$i18n.t('Model info for {{modelName}} deleted successfully', { modelName: selectedModelId }) $i18n.t('Model info for {{modelName}} deleted successfully', { modelName: selectedModelId })
); );
models.set(await getModels());
}; };
const toggleIsVisionCapable = () => { const toggleIsVisionCapable = () => {