fix: getModels should return name not id

This commit is contained in:
2026-01-23 22:36:25 -03:00
parent 68e622d318
commit d9c623ac5c
+1 -1
View File
@@ -137,7 +137,7 @@ export class ElevenLabsTTS implements TTSModule {
public getModels(): Array<string> { public getModels(): Array<string> {
if (!this.models) return []; if (!this.models) return [];
return this.models.map((mod) => mod.model_id); return this.models.map((mod) => mod.name);
} }
private async fetchVoices(): Promise<void> { private async fetchVoices(): Promise<void> {