feat(voice): add dedicated offline French Whisper model

This commit is contained in:
Blendman974 committed 2026-11-10 23:20:31 +01:00
1 parent a80d6697b5
commit b4b073412f
18 files changed
+621 -17

No files matched your search

+1
View File
@@ -14,6 +14,7 @@ export type TranscriptionLanguage = "default" | "auto" | keyof typeof TRANSCRIPT
export function resolveTranscriptionLanguage(
choice: TranscriptionLanguage, provider: string, serverLanguage = "",
): string {
if (provider === "onboard-whisper-fr") return "fr";
// Moonshine is English-only; Apple's on-device recognizer retains its own locale.
if (provider === "onboard") return "";
if (choice === "default") {