feat: productionize learning engine and classroom

This commit is contained in:
inman committed 2026-08-16 21:44:52 +08:00
1 parent 2d04197f3f
commit ba35adfbfa
124 files changed
+9071 -796

No files matched your search

+1
View File
@@ -46,5 +46,6 @@ export function useASRAvailable(): boolean {
const modelOk = !!builtIn || (providerConfig?.customModels?.length ?? 0) > 0;
const browserOk = asrProviderId !== 'browser-native' || browserSpeechSupported;
if (typeof window !== 'undefined' && window.__MAKELORE_COURSE_CONTEXT__) return true;
return asrEnabled && keyOk && modelOk && browserOk;
}