🔧 fix: Upload Audio as Text missing Param (#9356)

This commit is contained in:
Danny Avila 2025-08-28 21:07:30 -04:00 committed by GitHub
parent b75b799e34
commit 7742b18c9c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 23 additions and 8 deletions

View file

@ -616,7 +616,7 @@ const processAgentFileUpload = async ({ req, res, metadata }) => {
if (shouldUseSTT) {
const sttService = await STTService.getInstance();
const { text, bytes } = await processAudioFile({ file, sttService });
const { text, bytes } = await processAudioFile({ req, file, sttService });
return await createTextFile({ text, bytes });
}