feat: Refactor sentiment handling and enhance processing logic for session data

This commit is contained in:
Max Kowalski
2025-06-26 21:14:24 +02:00
parent 653d70022b
commit 8774a1f155
11 changed files with 195 additions and 280 deletions

View File

@ -23,7 +23,7 @@ async function triggerCompleteWorkflow(): Promise<{ message: string }> {
if (sessionsWithoutMessages > 0) {
console.log(`[Complete Workflow] Fetching transcripts for ${sessionsWithoutMessages} sessions`);
// Get sessions that have fullTranscriptUrl but no messages
const sessionsToProcess = await prisma.session.findMany({
where: {