diff --git a/app/frontend/src/components/Answer/SpeechOutputAzure.tsx b/app/frontend/src/components/Answer/SpeechOutputAzure.tsx index 2dabcb028a..ea181df295 100644 --- a/app/frontend/src/components/Answer/SpeechOutputAzure.tsx +++ b/app/frontend/src/components/Answer/SpeechOutputAzure.tsx @@ -44,7 +44,7 @@ export const SpeechOutputAzure = ({ answer, speechConfig, index, isStreaming }: return; } if (speechConfig.speechUrls[index]) { - playAudio(speechConfig.speechUrls[index]); + playAudio(speechConfig.speechUrls[index] ?? ""); return; } setIsLoading(true);