Skip to content

Commit 67aa89c

Browse files
committed
fix: run mode takes effect immediately
1 parent 19879ef commit 67aa89c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/screens/Settings/Advanced/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ const Advanced = () => {
306306
})
307307
}
308308
// Stop any running model to apply the changes
309-
if (e.target.checked !== gpuEnabled) stopModel()
309+
if (e.target.checked !== gpuEnabled) stopModel().then(() => window.core?.api?.relaunch())
310310
}}
311311
/>
312312
}

0 commit comments

Comments
 (0)