mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-11 07:24:32 +00:00
fix: apply missed media/runtime follow-ups from merged PRs
This commit is contained in:
@@ -23,7 +23,7 @@ export async function transcribeAudioFile(params: {
|
||||
}): Promise<{ text: string | undefined }> {
|
||||
const ctx = {
|
||||
MediaPath: params.filePath,
|
||||
MediaType: params.mime ?? "audio/wav",
|
||||
MediaType: params.mime,
|
||||
};
|
||||
const attachments = normalizeMediaAttachments(ctx);
|
||||
if (attachments.length === 0) {
|
||||
|
||||
Reference in New Issue
Block a user