mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-16 21:37:11 +00:00
fix: symbol error
This commit is contained in:
parent
72b6dcf54d
commit
08e78209a0
1 changed files with 1 additions and 1 deletions
|
|
@ -175,7 +175,7 @@ export class OfficialChatGPTClient {
|
|||
const { id, conversationId } = opts
|
||||
let url = this._apiReverseUrl.replace('/conversation', '/synthesize')
|
||||
let randomVoice = this.voices[Math.floor(Math.random() * this.voices.length)]
|
||||
url = `${url}?message_id=${id}&conversation_id=${conversationId}?voice=${randomVoice}`
|
||||
url = `${url}?message_id=${id}&conversation_id=${conversationId}&voice=${randomVoice}&format=mp3`
|
||||
let res = await fetch(url, {
|
||||
method: 'GET',
|
||||
headers: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue