diff --git a/client/src/components/Chat/Input/StreamAudio.tsx b/client/src/components/Chat/Input/StreamAudio.tsx index e0d58054da..0513be1be2 100644 --- a/client/src/components/Chat/Input/StreamAudio.tsx +++ b/client/src/components/Chat/Input/StreamAudio.tsx @@ -93,7 +93,7 @@ export default function StreamAudio({ index = 0 }) { } console.log('Fetching audio...', navigator.userAgent); - const response = await fetch('/api/files/tts', { + const response = await fetch('/api/files/speech/tts', { method: 'POST', headers: { 'Content-Type': 'application/json', Authorization: `Bearer ${token}` }, body: JSON.stringify({ messageId: latestMessage?.messageId, runId: activeRunId, voice }),