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
changes needed to enable gaav mode - disable auto caps and period at the end of dictation
altic-dev4054442909a4
diff --git a/Sources/Fluid/ContentView.swift b/Sources/Fluid/ContentView.swiftindex 7c5105f6..c9d76fbe 100644--- a/Sources/Fluid/ContentView.swift+++ b/Sources/Fluid/ContentView.swift@@ -1428,7 +1428,7 @@ struct ContentView: View {return}- let finalText: String+ var finalText: String// Check if we should use AI processing// IMPORTANT: Derive provider context from SettingsStore so AISettingsView changes take effect immediately.@@ -1460,6 +1460,10 @@ struct ContentView: View {finalText = transcribedText}+ // Apply GAAV formatting as the FINAL step (after AI post-processing)+ // This ensures the user's preference for no capitalization/period is respected+ finalText = ASRService.applyGAAVFormatting(finalText)+DebugLogger.shared.info("Transcription finalized (chars: \(finalText.count))", source: "ContentView")AnalyticsService.shared.capture(diff --git a/Sources/Fluid/Persistence/SettingsStore.swift b/Sources/Fluid/Persistence/SettingsStore.swiftindex 75c89933..af2d85e1 100644--- a/Sources/Fluid/Persistence/SettingsStore.swift+++ b/Sources/Fluid/Persistence/SettingsStore.swift@@ -71,6 +71,9 @@ final class SettingsStore: ObservableObject {static let fillerWords = "FillerWords"static let removeFillerWordsEnabled = "RemoveFillerWordsEnabled"+ // GAAV Mode (removes capitalization and trailing punctuation)+ static let gaavModeEnabled = "GAAVModeEnabled"+// Custom Dictionarystatic let customDictionaryEntries = "CustomDictionaryEntries"@@ -1035,6 +1038,19 @@ final class SettingsStore: ObservableObject {}}+ // MARK: - GAAV Mode++ /// GAAV Mode: Removes first letter capitalization and trailing period from transcriptions.+ /// Useful for search queries, form fields, or casual text input where sentence formatting is unwanted.+ /// Feature requested by maxgaav – thank you for the suggestion!+ var gaavModeEnabled: Bool {+ get { self.defaults.object(forKey: Keys.gaavModeEnabled) as? Bool ?? false }+ set {+ objectWillChange.send()+ self.defaults.set(newValue, forKey: Keys.gaavModeEnabled)+ }+ }+// MARK: - Custom Dictionary/// A custom dictionary entry that maps multiple misheard/alternate spellings to a correct replacement.diff --git a/Sources/Fluid/Services/ASRService.swift b/Sources/Fluid/Services/ASRService.swiftindex cbd4fa44..91a2224e 100644--- a/Sources/Fluid/Services/ASRService.swift+++ b/Sources/Fluid/Services/ASRService.swift@@ -1908,6 +1908,31 @@ final class ASRService: ObservableObject {return result}++ // MARK: - GAAV Mode Formatting++ /// Applies GAAV mode formatting: removes first letter capitalization and trailing period.+ /// This is useful for search queries, form fields, or casual text input.+ ///+ /// Feature requested by maxgaav – thank you for the suggestion!+ static func applyGAAVFormatting(_ text: String) -> String {+ guard SettingsStore.shared.gaavModeEnabled else { return text }+ guard !text.isEmpty else { return text }++ var result = text++ // Remove trailing period (if present)+ if result.hasSuffix(".") {+ result.removeLast()+ }++ // Lowercase the first character (if it's uppercase)+ if let first = result.first, first.isUppercase {+ result = first.lowercased() + result.dropFirst()+ }++ return result+ }}// MARK: - Audio capture pipelinediff --git a/Sources/Fluid/UI/SettingsView.swift b/Sources/Fluid/UI/SettingsView.swiftindex f5c40cf3..9a395da6 100644--- a/Sources/Fluid/UI/SettingsView.swift+++ b/Sources/Fluid/UI/SettingsView.swift@@ -427,6 +427,17 @@ struct SettingsView: View {Divider().padding(.vertical, 8)+ self.optionToggleRow(+ title: "GAAV Mode",+ description: "Remove first letter capitalization and trailing period. Useful for search queries, form fields, or casual text.\nFeature requested by MaxGaav.",+ isOn: Binding(+ get: { SettingsStore.shared.gaavModeEnabled },+ set: { SettingsStore.shared.gaavModeEnabled = $0 }+ )+ )++ Divider().padding(.vertical, 8)+self.optionToggleRow(title: "Share Anonymous Analytics",description: "Send anonymous usage and performance metrics to help improve FluidVoice. Never includes transcription text or prompts.",