diff --git a/memory/memories.db-shm b/memory/memories.db-shm index eac761c00..6d564d446 100644 Binary files a/memory/memories.db-shm and b/memory/memories.db-shm differ diff --git a/memory/memories.db-wal b/memory/memories.db-wal index ff4a66fcf..c88730726 100644 Binary files a/memory/memories.db-wal and b/memory/memories.db-wal differ diff --git a/tools/meeting-notes/src/index.ts b/tools/meeting-notes/src/index.ts index 3b693f48b..76fb91034 100644 --- a/tools/meeting-notes/src/index.ts +++ b/tools/meeting-notes/src/index.ts @@ -293,6 +293,13 @@ class MeetingNotesBot { this.audioBuffers.set(userId, []); const userName = this.userIdToName.get(userId) || userId; + console.log(`[DEBUG] ${userName}: ${buffers.length} chunks, ${totalLength} bytes total`); + + if (totalLength < 1000) { + console.log(`[DEBUG] ${userName}: chunk too small, skipping`); + return; + } + const timestamp = Date.now(); const rawFile = resolve(this.transcriptsDir, `chunk-${userName}-${timestamp}.raw`); const wavFile = rawFile.replace('.raw', '.wav');