Skip to content

Instantly share code, notes, and snippets.

@danieldormann
danieldormann / stt-window-tuning.patch
Created August 12, 2026 07:12
Expose vexa's STT Whisper chunking to .env and increase the window
diff --git a/core/meetings/modules/mixed-pipeline/src/chunked-transcriber.ts b/core/meetings/modules/mixed-pipeline/src/chunked-transcriber.ts
index f37484f5..402c6784 100644
--- a/core/meetings/modules/mixed-pipeline/src/chunked-transcriber.ts
+++ b/core/meetings/modules/mixed-pipeline/src/chunked-transcriber.ts
@@ -51,6 +51,13 @@ import type { TranscriptionResult } from '@vexa/transcribe-whisper';
import { localAgreement } from '@vexa/transcribe-buffer';
const SAMPLE_RATE = 16000;
+/** Operator-set positive-number knob. A missing, empty, or malformed value falls back to the
+ * built-in default: a NaN threshold would compare false everywhere and silently wedge the