Skip to content

Commit cf73dac

Browse files
authored
Merge pull request #468 from fcostarodrigo/patch-1
feat: support instructions field in OpenAI voices
2 parents 8e314a5 + d7effc7 commit cf73dac

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

js/tts-engines.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1018,6 +1018,7 @@ function OpenaiTtsEngine() {
10181018
model: voiceInfo.model,
10191019
input: text,
10201020
voice: voiceInfo.voice,
1021+
instructions: voiceInfo.instructions,
10211022
response_format: "mp3",
10221023
})
10231024
})

0 commit comments

Comments
 (0)