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
Remove unrelated Whisper streaming change
altic-dev6fcc5c5adda8
diff --git a/Sources/Fluid/Models/HotkeyShortcut.swift b/Sources/Fluid/Models/HotkeyShortcut.swiftindex 41bdab2d..0621a0a0 100644--- a/Sources/Fluid/Models/HotkeyShortcut.swift+++ b/Sources/Fluid/Models/HotkeyShortcut.swift@@ -198,7 +198,7 @@ extension HotkeyShortcut {static func normalizedModifierKeyCodes(from modifierKeyCodes: [UInt16]) -> [UInt16] {Array(Set(modifierKeyCodes)).compactMap { keyCode -> (UInt16, Int)? in- guard let priority = Self.modifierSortPriority(forKeyCode: keyCode) else { return nil }+ guard let priority = modifierSortPriority(forKeyCode: keyCode) else { return nil }return (keyCode, priority)}.sorted { lhs, rhs indiff --git a/Sources/Fluid/Persistence/SettingsStore.swift b/Sources/Fluid/Persistence/SettingsStore.swiftindex 56bd56c5..24d3340a 100644--- a/Sources/Fluid/Persistence/SettingsStore.swift+++ b/Sources/Fluid/Persistence/SettingsStore.swift@@ -3991,11 +3991,10 @@ final class SettingsStore: ObservableObject {}/// Whether this model supports real-time streaming/chunk processing.- /// Whisper preview re-transcribes the growing prefix and shares the final- /// transcription executor, so even tiny models can make stop feel stuck.+ /// Large Whisper models are too slow for streaming, so they only do final transcription on stop.var supportsStreaming: Bool {switch self {- case .qwen3Asr, .whisperTiny, .whisperBase, .whisperSmall, .whisperMedium, .whisperLargeTurbo, .whisperLarge:+ case .qwen3Asr, .whisperMedium, .whisperLargeTurbo, .whisperLarge:return false // Too slow for real-time chunk processingdefault:return true // All other models support streamingdiff --git a/Tests/FluidDictationIntegrationTests/DictationE2ETests.swift b/Tests/FluidDictationIntegrationTests/DictationE2ETests.swiftindex fd7a9c81..ec528172 100644--- a/Tests/FluidDictationIntegrationTests/DictationE2ETests.swift+++ b/Tests/FluidDictationIntegrationTests/DictationE2ETests.swift@@ -68,19 +68,6 @@ final class DictationE2ETests: XCTestCase {}}- func testWhisperModelsUseFinalOnlyDictation() {- let whisperModels: [SettingsStore.SpeechModel] = [- .whisperTiny,- .whisperBase,- .whisperSmall,- .whisperMedium,- .whisperLargeTurbo,- .whisperLarge,- ]-- XCTAssertTrue(whisperModels.allSatisfy { !$0.supportsStreaming })- }-func testDictationEndToEnd_whisperTiny_transcribesFixture() async throws {// ArrangeSettingsStore.shared.shareAnonymousAnalytics = false