diff --git a/plugins/openai/src/tts.ts b/plugins/openai/src/tts.ts index 6fd91053..ef4b8c53 100644 --- a/plugins/openai/src/tts.ts +++ b/plugins/openai/src/tts.ts @@ -55,7 +55,12 @@ export class TTS extends tts.TTS { }); } - updateOptions(opts: { model?: TTSModels | string; voice?: TTSVoices; speed?: number }) { + updateOptions(opts: { + model?: TTSModels | string; + voice?: TTSVoices; + speed?: number; + instructions?: string; + }) { this.#opts = { ...this.#opts, ...opts }; }