mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-11 04:04:32 +00:00
fix(media): normalize MIME kind detection for audio transcription
This commit is contained in:
committed by
Peter Steinberger
parent
481da215b9
commit
ec688d809f
@@ -188,5 +188,5 @@ export function imageMimeFromFormat(format?: string | null): string | undefined
|
||||
}
|
||||
|
||||
export function kindFromMime(mime?: string | null): MediaKind {
|
||||
return mediaKindFromMime(mime);
|
||||
return mediaKindFromMime(normalizeMimeType(mime));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user