⚒️ fix(speechToText): OpenAI Provider (#3283)

This commit is contained in:
Marco Beretta
2024-07-07 00:32:19 +02:00
committed by GitHub
parent 7edb54889b
commit 55f8d9910e

View File

@@ -182,7 +182,7 @@ async function speechToText(req, res) {
switch (provider) {
case 'openai':
[url, data, headers] = openAIProvider(customConfig.stt, audioReadStream);
[url, data, headers] = openAIProvider(customConfig.speech.stt, audioReadStream);
break;
case 'azure':
[url, data, headers] = azureProvider(req, audioReadStream);