feat: update session metrics and processing to use enums for sentiment and streamline status tracking

This commit is contained in:
Max Kowalski
2025-06-27 23:23:09 +02:00
parent 8ffd5a7a2c
commit 9238c9a6af
9 changed files with 38 additions and 79 deletions

View File

@ -52,7 +52,7 @@ export function startCsvImportScheduler() {
tokensEur: rawSession.tokensEur,
category: rawSession.category,
initialMessage: rawSession.initialMessage,
status: "QUEUED", // Reset status for reprocessing if needed
// Status tracking now handled by ProcessingStatusManager
},
create: {
companyId: company.id,
@ -72,7 +72,7 @@ export function startCsvImportScheduler() {
tokensEur: rawSession.tokensEur,
category: rawSession.category,
initialMessage: rawSession.initialMessage,
status: "QUEUED",
// Status tracking now handled by ProcessingStatusManager
},
});
} catch (error) {