mirror of
https://github.com/jamiepine/voicebox.git
synced 2026-10-03 17:15:19 -07:00
fix(settings): invalidate capture-readiness on auto_refine toggle (#753)
This commit is contained in:
committed by
capy-ai-staging[bot]
parent
0e1e9922a8
commit
ca56137ca0
@@ -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'] });
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user