Skip to content

知了 Cicada · 任何会议和直播的实时字幕、同声传译、AI 会议纪要,Mac、Windows、Linux、Android 免费开源。Live subtitles, interpreting and meeting notes for any call or stream, on Mac, Windows, Linux and Android.

fix(ios): Face to Face reads translations in Ming's voice when there is a Ling key, instead of always the phone's

wquguru21cbb6d43f12
diff --git a/ios/Sources/Cicada/CicadaApp.swift b/ios/Sources/Cicada/CicadaApp.swift
index b9f9ba9..c81b663 100644
--- a/ios/Sources/Cicada/CicadaApp.swift
+++ b/ios/Sources/Cicada/CicadaApp.swift
@@ -183,8 +183,10 @@ final class AppModel: ObservableObject {
TranscriptExport.voices = UserDefaults.standard.bool(forKey: Pref.voices)
// Ling only for now: the Mac's other services (AIProvider) come to iOS with their settings.
ling.config = {
+ // Ming speaks 面对面 with the same key: without the voice model, every turn fell back to the phone's voice.
AIConfig(provider: .ling, base: AIProvider.ling.base,
- textModel: UserDefaults.standard.string(forKey: Pref.model) ?? LingClient.models[0])
+ textModel: UserDefaults.standard.string(forKey: Pref.model) ?? LingClient.models[0],
+ voiceModel: AIProvider.ling.voiceModels.first?.id, voiceBase: AIProvider.ling.base)
}
wireNotes()
wireFixes()