fix: add Google Gemini TTS provider (#67515) (thanks @barronlroth)

* Add Google Gemini TTS provider

* Remove committed planning artifact

* Explain Google media provider type shape

* google: distill Gemini TTS provider

* fix: add Google Gemini TTS provider (#67515) (thanks @barronlroth)

* fix: honor cfg-backed Google TTS selection (#67515) (thanks @barronlroth)

* fix: narrow Google TTS directive aliases (#67515) (thanks @barronlroth)

---------

Co-authored-by: Ayaan Zaidi <hi@obviy.us>
This commit is contained in:
Barron Roth
2026-04-15 23:24:35 -07:00
committed by GitHub
parent b10ae0bf13
commit bf59917cd1
12 changed files with 798 additions and 17 deletions

View File

@@ -474,9 +474,11 @@ export function getTtsProvider(config: ResolvedTtsConfig, prefsPath: string): Tt
return normalizeConfiguredSpeechProviderId(config.provider) ?? config.provider;
}
for (const provider of sortSpeechProvidersForAutoSelection()) {
const effectiveCfg = config.sourceConfig;
for (const provider of sortSpeechProvidersForAutoSelection(effectiveCfg)) {
if (
provider.isConfigured({
cfg: effectiveCfg,
providerConfig: config.providerConfigs[provider.id] ?? {},
timeoutMs: config.timeoutMs,
})