Skip to content

Commit d7effc7

Browse files
feat: support instructions field in OpenAI voices
1 parent 8e314a5 commit d7effc7

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)