@@ -124,7 +124,7 @@ class OpenAIProvider extends AbstractProvider implements ChatInterface, ModelInt
124124 *
125125 * @since __DEPLOY_VERSION__
126126 */
127- public function __construct (array $ options = [], ?HttpFactory $ httpFactory = null )
127+ public function __construct ($ options = [], ?HttpFactory $ httpFactory = null )
128128 {
129129 parent ::__construct ($ options , $ httpFactory );
130130
@@ -573,8 +573,6 @@ public function editImage($images, string $prompt, array $options = []): Respons
573573 * Generate speech audio from text input.
574574 *
575575 * @param string $text The text to convert to speech
576- * @param string $model The model to use for speech synthesis
577- * @param string $voice The voice to use for speech synthesis
578576 * @param array $options Additional options for speech generation
579577 *
580578 * @return Response
@@ -602,7 +600,6 @@ public function speech(string $text, array $options = []): Response
602600 * Transcribe audio into text.
603601 *
604602 * @param string $audioFile Path to audio file
605- * @param string $model The transcription model to use
606603 * @param array $options Additional options for transcription
607604 *
608605 * @return Response The AI response containing transcribed text
@@ -627,7 +624,6 @@ public function transcribe(string $audioFile, array $options = []): Response
627624 * Translate audio to English text.
628625 *
629626 * @param string $audioFile Path to audio file
630- * @param string $model Model to use for translation
631627 * @param array $options Additional options
632628 *
633629 * @return Response Translation response
@@ -722,7 +718,6 @@ public function moderate($input, array $options = []): array
722718 * @param array $moderationResult Result from moderate() method
723719 *
724720 * @return bool
725- * @throws \InvalidArgumentException
726721 * @since __DEPLOY_VERSION__
727722 */
728723 public function isContentFlagged (array $ moderationResult ): bool
@@ -909,7 +904,6 @@ private function buildVisionRequestPayload(string $message, string $image, strin
909904 *
910905 * @param string $prompt The image generation prompt.
911906 * @param array $options Additional options for the request.
912- * @param string $capability Required capability.
913907 *
914908 * @return array The request payload.
915909 * @since __DEPLOY_VERSION__
@@ -1194,8 +1188,6 @@ private function buildImageEditPayload($images, string $prompt, array $options):
11941188 * Build payload for text-to-speech request.
11951189 *
11961190 * @param string $text The text to convert to speech
1197- * @param string $model The model to use for speech synthesis
1198- * @param string $voice The voice to use for speech synthesis
11991191 * @param array $options Additional options for speech generation
12001192 *
12011193 * @return array The request payload.
@@ -1268,7 +1260,6 @@ private function buildSpeechPayload(string $text, array $options): array
12681260 * Build payload for transcription request.
12691261 *
12701262 * @param string $audioFile The audio file
1271- * @param string $model The transcription model
12721263 * @param array $options Additional options
12731264 *
12741265 * @return array Form data for multipart request
@@ -1378,7 +1369,6 @@ private function buildTranscriptionPayload(string $audioFile, array $options): a
13781369 * Build payload for translation request.
13791370 *
13801371 * @param string $audioFile Path to the audio file
1381- * @param string $model The translation model to use
13821372 * @param array $options Additional options for translation
13831373 *
13841374 * @return array Form data for multipart request
0 commit comments