Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

fix(vocab): align header badge with real engine limit (#3726)

Ansh Grovere5f9173b9ce1
diff --git a/apps/screenpipe-app-tauri/components/settings/recording-settings.tsx b/apps/screenpipe-app-tauri/components/settings/recording-settings.tsx
index 7e017c6dd..fc43e8c66 100644
--- a/apps/screenpipe-app-tauri/components/settings/recording-settings.tsx
+++ b/apps/screenpipe-app-tauri/components/settings/recording-settings.tsx
@@ -1152,9 +1152,11 @@ const getAudioDeviceIcon = (name: string) => {
// ─── Transcription Dictionary ────────────────────────────────────────────────
-const VOCAB_LIMIT = 1000;
const DEEPGRAM_LIMIT = 100;
const WHISPER_CHAR_LIMIT = 800;
+// Cap stored terms at the strictest real engine limit (Deepgram cloud).
+// Whisper's offline limit is on total chars, not term count, and is surfaced separately below.
+const VOCAB_LIMIT = DEEPGRAM_LIMIT;
function parseTerms(raw: string): string[] {
// Auto-detect delimiter: if there are newlines, split by newlines; otherwise commas; otherwise semicolons; otherwise tabs