feat: productionize learning engine and classroom
This commit is contained in:
1 parent
2d04197f3f
commit
ba35adfbfa
124 files changed
+9071
-796
No files matched your search
@@ -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;
|
||||
}
|
||||
Reference in new issue
Block a user