From 912b75f8acd867dc3b10434a7f4c2374a2583599 Mon Sep 17 00:00:00 2001 From: Yukino Song Date: Tue, 11 Jun 2024 23:25:07 +0800 Subject: [PATCH] Fix frontend stops responding when backend throw error --- src/lib/components/chat/ModelSelector/Selector.svelte | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/components/chat/ModelSelector/Selector.svelte b/src/lib/components/chat/ModelSelector/Selector.svelte index fedcc3e8a..6c27174ae 100644 --- a/src/lib/components/chat/ModelSelector/Selector.svelte +++ b/src/lib/components/chat/ModelSelector/Selector.svelte @@ -152,6 +152,7 @@ toast.error(error); // opts.callback({ success: false, error, modelName: opts.modelName }); + break; } }