OpenAiProvider::textToSpeech method has duplicate call on the client

Created on 20 October 2024, 4 months ago

Problem/Motivation

In the \Drupal\provider_openai\Plugin\AiProvider\OpenAiProvider::textToSpeech() method we get the response once in the try{} then afterwards again.

Proposed resolution

Remove the second call to get the response.

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇧🇪Belgium joevagyok

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024