From c8ecb63139fb50e476d00978f799106885008f49 Mon Sep 17 00:00:00 2001 From: leolele <947674861@qq.com> Date: Thu, 29 Jan 2026 22:45:17 +0800 Subject: [PATCH] fix(tts): add minimax provider to TtsProvider and TtsConfig types --- src/config/types.tts.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/config/types.tts.ts b/src/config/types.tts.ts index 4eb4989b9..839968b50 100644 --- a/src/config/types.tts.ts +++ b/src/config/types.tts.ts @@ -1,4 +1,4 @@ -export type TtsProvider = "elevenlabs" | "openai" | "edge"; +export type TtsProvider = "elevenlabs" | "openai" | "edge" | "minimax"; export type TtsMode = "final" | "all"; @@ -73,6 +73,12 @@ export type TtsConfig = { proxy?: string; timeoutMs?: number; }; + /** MiniMax configuration. */ + minimax?: { + apiKey?: string; + model?: string; + baseUrl?: string; + }; /** Optional path for local TTS user preferences JSON. */ prefsPath?: string; /** Hard cap for text sent to TTS (chars). */