async ttsBuffer(textInput) {
    try {
      const result = await this.openai.audio.speech.create({
        model: "tts-1",
        voice: this.voice,
        input: textInput,
      });
      return Buffer.from(await result.arrayBuffer());
    } catch (e) {
      console.error(e);
    }
    return null;
  }
Generates a buffer from the given text input using the OpenAI compatible TTS service.
@param {string} textInput - The text to be converted to audio.
@returns {Promise<Buffer>} A buffer containing the audio data.