Google: Fix video inlining with PPP Fixes #4268

7894e4d361c83595127c06ee043f48e230084d89

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +1 -1Showing whitespace changes
src/prompt-converters.js+1 -1
@@ -792,7 +792,7 @@ export function mergeMessages(messages, names, { strict = false, placeholders =
792792 return content.text;
793793 }
794794 // Could be extended with other non-text types
795- if (content.type === 'image_url') {
795+ if (['image_url', 'video_url'].includes(content.type)) {
796796 const token = crypto.randomBytes(32).toString('base64');
797797 contentTokens.set(token, content);
798798 return token;