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
@@ -62,6 +62,8 @@ export interface GenerateClassroomInput {
|
||||
enableTTS?: boolean;
|
||||
/** Use the original app Interactive Mode outline prompt for this classroom. */
|
||||
interactiveMode?: boolean;
|
||||
/** Enable the original vocational Task Engine outline and scene path. */
|
||||
taskEngineMode?: boolean;
|
||||
}
|
||||
|
||||
export type ClassroomGenerationStep =
|
||||
@@ -343,6 +345,7 @@ export async function generateClassroom(
|
||||
const requirements: UserRequirements = {
|
||||
requirement,
|
||||
...(input.interactiveMode ? { interactiveMode: true } : {}),
|
||||
...(input.taskEngineMode ? { taskEngineMode: true } : {}),
|
||||
};
|
||||
const vocationalActive = resolveVocationalActive(requirements);
|
||||
const pdfText = pdfContent?.text || undefined;
|
||||
|
||||
Reference in new issue
Block a user