Skip to content

Commit aaaab3f

Browse files
julien-ncbackportbot[bot]
authored andcommitted
enh: the assistant now produces wav audio input -> change the input param in the chat completion request with multimodal model
Signed-off-by: Julien Veyssier <[email protected]>
1 parent fbe1f92 commit aaaab3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Service/OpenAiAPIService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -560,7 +560,7 @@ public function createChatCompletion(
560560
'type' => 'input_audio',
561561
'input_audio' => [
562562
'data' => $userAudioPromptBase64,
563-
'format' => 'mp3',
563+
'format' => 'wav',
564564
],
565565
],
566566
],

0 commit comments

Comments
 (0)