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

fix: fall back when speaker turn is empty

postosoa844cb975968
diff --git a/Sources/Fluid/Services/MeetingTranscriptionService.swift b/Sources/Fluid/Services/MeetingTranscriptionService.swift
index 3123daa3..d25d9cfa 100644
--- a/Sources/Fluid/Services/MeetingTranscriptionService.swift
+++ b/Sources/Fluid/Services/MeetingTranscriptionService.swift
@@ -559,8 +559,15 @@ final class MeetingTranscriptionService: ObservableObject {
return nil
}
- // No usable audio in this turn (too short or silent) — skip without losing content.
- guard let transcribed else { continue }
+ // An empty result would omit this turn's time range. Fall back to the complete
+ // full-file transcript rather than persist a labeled transcript with a silent gap.
+ guard let transcribed else {
+ DebugLogger.shared.warning(
+ "Speaker segment \(index + 1)/\(turns.count) produced no text; falling back to standard transcription",
+ source: "MeetingTranscriptionService"
+ )
+ return nil
+ }
segments.append(SpeakerTranscriptSegment(
speaker: turn.speakerLabel,