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

formatting

altic-dev23d46a5e7598
diff --git a/Sources/Fluid/UI/AISettings/AIEnhancementSettingsViewModel.swift b/Sources/Fluid/UI/AISettings/AIEnhancementSettingsViewModel.swift
index 31b334c7..8387b2cf 100644
--- a/Sources/Fluid/UI/AISettings/AIEnhancementSettingsViewModel.swift
+++ b/Sources/Fluid/UI/AISettings/AIEnhancementSettingsViewModel.swift
@@ -656,7 +656,7 @@ final class AIEnhancementSettingsViewModel: ObservableObject {
if let httpResponse = response as? HTTPURLResponse {
let statusCode = httpResponse.statusCode
- if statusCode >= 200 && statusCode < 300 {
+ if statusCode >= 200, statusCode < 300 {
await MainActor.run {
self.updateConnectionStatus(.success, for: providerID)
self.connectionErrorMessage = ""
@@ -790,7 +790,6 @@ final class AIEnhancementSettingsViewModel: ObservableObject {
}
}
-
// MARK: - Provider/Model Handling
func handleProviderChange(_ newValue: String) {