Skip to content

Fastest and only macOS Dictation app with on-device STT and custom trained AI enhancement model. Windows, iOS testflight! Android, Linux waitlist open! A local Wispr Flow alternative. Follow https://x.com/fluidvoiceapp for more

document deferred cold-provider restart risk

altic-dev6d7d5c010f13
diff --git a/Sources/Fluid/Services/ASRService.swift b/Sources/Fluid/Services/ASRService.swift
index 6a930f0a..b8445da5 100644
--- a/Sources/Fluid/Services/ASRService.swift
+++ b/Sources/Fluid/Services/ASRService.swift
@@ -2912,6 +2912,9 @@ final class ASRService: ObservableObject {
if self.isAsrReady, provider.isReady {
self.benchmarkLog("stop_ensure_ready skipped=true elapsedMs=0")
} else {
+ // TODO: Investigate rapid restart while this cold-provider stop is pending (PR #950).
+ // A new recording may replace output context still read by the previous transcript.
+ // Not reproduced in-app; defer changes for now and preserve responsive restarts.
self.publishStoppedState(for: stoppingSessionID)
DebugLogger.shared.debug("🔍 Calling ensureAsrReady()...", source: "ASRService")
try await self.ensureAsrReady()