Fix Kokoro TTS integration issues: Remove API key requirement and ensure system-specific options display correctly

This commit is contained in:
2025-04-05 22:06:22 +00:00
parent e5a3016846
commit fc693ae695
11 changed files with 3296 additions and 596 deletions
+1 -1
View File
@@ -425,7 +425,7 @@ export class KokoroHandler extends TTSHandler {
try {
const persistenceManager = this.getModule('persistence-manager');
if (persistenceManager) {
persistenceManager.setPreference('tts-voice-kokoro', foundVoice.id);
persistenceManager.updatePreference('tts-voice-kokoro', foundVoice.id);
}
} catch (error) {
console.error('Kokoro TTS: Error saving voice preference:', error);