From fa6e21f5e0f9843ea8fbf9022dbf9c8060a7f0bb Mon Sep 17 00:00:00 2001 From: Jun Siang Cheah Date: Thu, 9 May 2024 23:55:56 +0800 Subject: [PATCH] fix: update models after deleting model info --- src/lib/components/chat/Settings/Models.svelte | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/components/chat/Settings/Models.svelte b/src/lib/components/chat/Settings/Models.svelte index dfde1e501..02340a9bf 100644 --- a/src/lib/components/chat/Settings/Models.svelte +++ b/src/lib/components/chat/Settings/Models.svelte @@ -551,6 +551,7 @@ toast.success( $i18n.t('Model info for {{modelName}} deleted successfully', { modelName: selectedModelId }) ); + models.set(await getModels()); }; const toggleIsVisionCapable = () => {