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: Update Authorization header logic for API requests
Abhijeet52fa19b23fe3
diff --git a/Sources/Fluid/Services/LLMClient.swift b/Sources/Fluid/Services/LLMClient.swiftindex d4083ce9..065cdb52 100644--- a/Sources/Fluid/Services/LLMClient.swift+++ b/Sources/Fluid/Services/LLMClient.swift@@ -267,8 +267,8 @@ final class LLMClient {request.httpMethod = "POST"request.addValue("application/json", forHTTPHeaderField: "Content-Type")- // Only add Authorization header for non-local endpoints- if !isLocal && !config.apiKey.isEmpty {+ // Send Authorization whenever a key exists; some localhost endpoints still require auth.+ if !config.apiKey.isEmpty {request.addValue("Bearer \(config.apiKey)", forHTTPHeaderField: "Authorization")}