Merge commit '2f5efee9c7f81cadc22f033f9ba20bb5cbc2d66e' into develop

This commit is contained in:
2025-11-24 14:41:10 +01:00
9 changed files with 12757 additions and 12 deletions
+14 -2
View File
@@ -127,7 +127,7 @@ electron.ipcMain.handle('get-module-names', async () => {
electron.ipcMain.on("file_submit", async (event, args) => {
try {
let curstep = 0
let totalsteps = 2 + args.document.styles.length
let totalsteps = 3 + args.document.styles.length
if(args.document.styles.length == 0)
throw new Error("At least one Document Style needed");
@@ -161,6 +161,18 @@ electron.ipcMain.on("file_submit", async (event, args) => {
// return
// })
// // This code summarises the transcript, so that it can be used by an llm
// await mapFunctions.get("summarize-transcription").function(transcriptpath).then(resp => {
// console.log(resp);
// transcriptpath = resp
// curstep++
// mainWindow.webContents.send("progress", {curstep:curstep, totalsteps:totalsteps})
// }).catch(err => {
// mainWindow.webContents.send("error", err)
// return
// })
// TODO implement documentation module
// // This code handles the Text to Document processing module call
// for (let i = 0; i < args.document.styles.length; i++) {
@@ -213,4 +225,4 @@ let q1 = {
{name:"abc", displayname:"ABC"},
{name:"qeg", displayname:"aqghegahu"}
]
}
}