feat(ai): split shared provider config from Anki runtime

This commit is contained in:
sudacode committed 2026-03-08 16:10:51 -07:00
1 parent f10e905dbd
commit 9e46176519
19 files changed
+457 -133

No files matched your search

@@ -19,7 +19,7 @@ test('createConfigHotReloadAppliedHandler runs all hot-reload effects', () => {
broadcastToOverlayWindows: (channel, payload) =>
calls.push(`broadcast:${channel}:${typeof payload === 'string' ? payload : 'object'}`),
applyAnkiRuntimeConfigPatch: (patch) => {
ankiPatches.push({ enabled: patch.ai.enabled });
ankiPatches.push({ enabled: patch.ai });
},
});