feat: migrate on-device Qwen3 ASR to CoreML for background Flow dictation

Replace MLX GPU inference with CoreML bundles so transcription continues
while the host app is backgrounded. Adds model download and warm-up,
vendored Qwen3Speech, and updates onboarding, settings, and copy for the
~1.6 GB CoreML package (iOS 18+).
This commit is contained in:
Rocky
2026-06-23 00:46:58 +08:00
parent 5e5122f172
commit df1c5ff32c
160 changed files with 22080 additions and 492 deletions
@@ -6,9 +6,12 @@
import Foundation
public enum ProviderDisplayName {
public static func name(for providerId: String) -> String {
public static func name(
for providerId: String,
language: AppUILanguage? = nil
) -> String {
let key = "provider.\(providerId)"
let localized = NSLocalizedString(key, comment: "")
let localized = SharedL10n.string(key, language: language)
if localized != key { return localized }
return LLMProvider.provider(id: providerId).name
}