Skip to content

Commit 15f9f13

Browse files
committed
fix: correct file extention of sended file to the backend
1 parent df3b10b commit 15f9f13

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

custom/composables/useAgentAudio.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export const useAgentAudio = defineStore('agentAudio', () => {
6767
async function sendAudioToServerAndHandleResponse(blob: Blob) {
6868
currentAbortController = new AbortController();
6969
const formData = new FormData();
70-
formData.append('file', blob, 'user_prompt.webm');
70+
formData.append('file', blob, 'user_prompt.wav');
7171
formData.append('sessionId', agentStore.activeSessionId);
7272
formData.append('mode', agentStore.activeModeName ?? '');
7373
formData.append('timeZone', Intl.DateTimeFormat().resolvedOptions().timeZone);

0 commit comments

Comments
 (0)