Skip to content

Commit 0eabea1

Browse files
authored
Merge pull request #303 from nextcloud/enh/noid/multimodal-audio-input-format
Adjust audio input chat message format
2 parents 7fddc56 + 94d214e commit 0eabea1

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)