🚸 (elevenlabs) Remove default timeout
This commit is contained in:
@ -95,6 +95,7 @@ export const convertTextToSpeech = createAction({
|
|||||||
model_id: options.modelId,
|
model_id: options.modelId,
|
||||||
text: options.text,
|
text: options.text,
|
||||||
},
|
},
|
||||||
|
timeout: false,
|
||||||
})
|
})
|
||||||
.arrayBuffer()
|
.arrayBuffer()
|
||||||
|
|
||||||
@ -113,6 +114,11 @@ export const convertTextToSpeech = createAction({
|
|||||||
details: await err.response.text(),
|
details: await err.response.text(),
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
logs.add({
|
||||||
|
status: 'error',
|
||||||
|
description: 'An error occured while converting the text to speech',
|
||||||
|
details: JSON.stringify(err, null, 2),
|
||||||
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user