From 17569d0658cb73b878e519a5af1106ee520ecfcd Mon Sep 17 00:00:00 2001 From: Amruth Pillai Date: Mon, 2 Feb 2026 01:03:01 +0100 Subject: [PATCH] add failure update to ai test status, when testing connection --- src/routes/dashboard/settings/ai.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/routes/dashboard/settings/ai.tsx b/src/routes/dashboard/settings/ai.tsx index 73ba9f29f..779ac05f5 100644 --- a/src/routes/dashboard/settings/ai.tsx +++ b/src/routes/dashboard/settings/ai.tsx @@ -100,6 +100,10 @@ function AIForm() { }); }, onError: (error) => { + set((draft) => { + draft.testStatus = "failure"; + }); + toast.error(error.message); }, },