Fix Kokoro TTS integration issues: Remove API key requirement and ensure system-specific options display correctly
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user