Correct input_video to video_url in embedOpenRouterMedia() (#5331)

e3fbc8510ac0636591a54e5449982bfe35742cfc

cloak1505 <170299980+cloak1505@users.noreply.github.com>

Signed
1 files changed, +1 -1Ignore whitespace
src/prompt-converters.js+1 -1
@@ -1339,7 +1339,7 @@ export function embedOpenRouterMedia(messages, { audio = true, video = true } =
13391339
13401340 for (const contentPart of message.content) {
13411341 if (video && contentPart?.type === 'video_url' && contentPart.video_url?.url?.startsWith('data:')) {
13421342 contentPart.type = 'input_videovideo_url';
13431343 }
13441344
13451345 if (audio && contentPart?.type === 'audio_url' && contentPart.audio_url?.url?.startsWith('data:')) {