| 1339 | | 1339 | |
| 1340 | for (const contentPart of message.content) { | 1340 | for (const contentPart of message.content) { |
| 1341 | if (video && contentPart?.type === 'video_url' && contentPart.video_url?.url?.startsWith('data:')) { | 1341 | if (video && contentPart?.type === 'video_url' && contentPart.video_url?.url?.startsWith('data:')) { |
| 1342 | contentPart.type = 'input_video'; | 1342 | contentPart.type = 'video_url'; |
| 1343 | } | 1343 | } |
| 1344 | | 1344 | |
| 1345 | if (audio && contentPart?.type === 'audio_url' && contentPart.audio_url?.url?.startsWith('data:')) { | 1345 | if (audio && contentPart?.type === 'audio_url' && contentPart.audio_url?.url?.startsWith('data:')) { |