Correct input_video to video_url in embedOpenRouterMedia() (#5331)
Signed| @@ -1339,7 +1339,7 @@ export function embedOpenRouterMedia(messages, { audio = true, video = true } = | ||
| 1339 | 1339 | |
| 1340 | 1340 | for (const contentPart of message.content) { |
| 1341 | 1341 | if (video && contentPart?.type === 'video_url' && contentPart.video_url?.url?.startsWith('data:')) { |
| 1342 | 1342 | contentPart.type = 'input_videovideo_url'; |
| 1343 | 1343 | } |
| 1344 | 1344 | |
| 1345 | 1345 | if (audio && contentPart?.type === 'audio_url' && contentPart.audio_url?.url?.startsWith('data:')) { |