2
0

🚸 (elevenlabs) Remove default timeout

This commit is contained in:
Baptiste Arnaud
2024-08-21 15:22:07 +02:00
parent eb9c3b6003
commit 6d47f3efed

View File

@ -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),
})
} }
}, },
}, },