diff --git a/src/media-understanding/apply.ts b/src/media-understanding/apply.ts index 7c2a18006..1bb041cc6 100644 --- a/src/media-understanding/apply.ts +++ b/src/media-understanding/apply.ts @@ -216,7 +216,7 @@ async function extractFileBlocks(params: { } const forcedTextMime = resolveTextMimeFromName(attachment.path ?? attachment.url ?? ""); const kind = forcedTextMime ? "document" : resolveAttachmentKind(attachment); - if (!forcedTextMime && (kind === "image" || kind === "video")) { + if (!forcedTextMime && (kind === "image" || kind === "audio" || kind === "video")) { continue; } if (!limits.allowUrl && attachment.url && !attachment.path) {