Skip to content

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

fix(audio): keep transcription when cloud cleanup returns empty (#938)

Alcahest Malus Dienheim9aa5d7b6eac1
diff --git a/src/helpers/audioManager.js b/src/helpers/audioManager.js
index 70a65d7ef..013d7ae7d 100644
--- a/src/helpers/audioManager.js
+++ b/src/helpers/audioManager.js
@@ -1978,7 +1978,8 @@ registerProcessor("pcm-streaming-processor", PCMStreamingProcessor);
return res;
});
- if (reasonResult.success) {
+ // Cloud cleanup can return success with empty text; keep the raw transcription instead of wiping it.
+ if (reasonResult.success && reasonResult.text) {
processedText = reasonResult.text;
}
} else if (route.kind === "cleanup") {