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

553 B
Raw Blame
import Foundation

/// Presentation only. Picker tags, history records and API requests keep their original IDs.
enum ModelDisplayName {
    static func forID(_ modelID: String) -> String {
        let id = modelID.trimmingCharacters(in: .whitespacesAndNewlines)
        let canonical = PrivateAIModelRegistry.canonicalModelID(for: id) ?? id
        guard let model = PrivateAIModelRegistry.model(id: canonical), !model.displayName.isEmpty else { return id }
        return model.displayName.replacingOccurrences(of: "Fluid-1", with: "Fluid 1")
    }
}