From ca56137ca0f17efde9e81ef988bec612e7b77e4c Mon Sep 17 00:00:00 2001 From: devangkantharia Date: Sat, 8 Aug 2026 22:10:13 +0530 Subject: [PATCH] fix(settings): invalidate capture-readiness on auto_refine toggle (#753) --- app/src/lib/hooks/useSettings.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/src/lib/hooks/useSettings.ts b/app/src/lib/hooks/useSettings.ts index 40750be7..f8f6aad6 100644 --- a/app/src/lib/hooks/useSettings.ts +++ b/app/src/lib/hooks/useSettings.ts @@ -48,7 +48,11 @@ export function useCaptureSettings() { // call, but its cached response keeps serving the previous // model's state until the next 5 s poll. Invalidate on model // swaps so the readiness checklist re-checks immediately. - if (patch.stt_model !== undefined || patch.llm_model !== undefined) { + if ( + patch.stt_model !== undefined || + patch.llm_model !== undefined || + patch.auto_refine !== undefined + ) { queryClient.invalidateQueries({ queryKey: ['capture-readiness'] }); } },