Feat : Auto restart after crash

This commit is contained in:
decolua committed 2026-03-14 09:37:29 +07:00
1 parent 549223c8cf
commit adae2605bf
31 files changed
+340 -189

No files matched your search

+1 -1
View File
@@ -44,7 +44,7 @@ async function createLogSession(sourceFormat, targetFormat, model) {
}
const timestamp = formatTimestamp();
const safeModel = model.replace(/[/:]/g, "-");
const safeModel = (model || "unknown").replace(/[/:]/g, "-");
const folderName = `${sourceFormat}_${targetFormat}_${safeModel}_${timestamp}`;
const sessionPath = path.join(LOGS_DIR, folderName);