Skip to content

Voice-to-text dictation app with local (Nvidia Parakeet/Whisper) and cloud models (BYOK). Privacy-first and available cross-platform.

fix(streaming): default to batch when sttConfig fails to load

Gabriel Steinbb1e124fd41e
diff --git a/src/helpers/audioManager.js b/src/helpers/audioManager.js
index d50d56012..66e1e7502 100644
--- a/src/helpers/audioManager.js
+++ b/src/helpers/audioManager.js
@@ -1972,10 +1972,8 @@ registerProcessor("pcm-streaming-processor", PCMStreamingProcessor);
if (this.context === "notes") {
return localStorage.getItem("notesStreamingPreference") === "streaming";
}
- if (this.sttConfig) {
- return this.sttConfig.dictation?.mode === "streaming";
- }
- return localStorage.getItem("deepgramStreaming") !== "false";
+ if (!this.sttConfig) return false;
+ return this.sttConfig.dictation?.mode === "streaming";
}
async warmupStreamingConnection({ isSignedIn: isSignedInOverride } = {}) {