From d9c623ac5cc937f3bd218ce6b07c9b589c3c8f46 Mon Sep 17 00:00:00 2001 From: neru Date: Fri, 23 Jan 2026 22:36:25 -0300 Subject: [PATCH] fix: getModels should return name not id --- src/modules/tts-modes/elevenlabs.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/tts-modes/elevenlabs.ts b/src/modules/tts-modes/elevenlabs.ts index 607f7b1..4809fa0 100644 --- a/src/modules/tts-modes/elevenlabs.ts +++ b/src/modules/tts-modes/elevenlabs.ts @@ -137,7 +137,7 @@ export class ElevenLabsTTS implements TTSModule { public getModels(): Array { if (!this.models) return []; - return this.models.map((mod) => mod.model_id); + return this.models.map((mod) => mod.name); } private async fetchVoices(): Promise {