Google: Fix video inlining with PPP Fixes #4268

7894e4d361c83595127c06ee043f48e230084d89

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

1 files changed, +1 -1Ignore whitespace
src/prompt-converters.js+1 -1
@@ -792,7 +792,7 @@ export function mergeMessages(messages, names, { strict = false, placeholders =
792 return content.text;792 return content.text;
793 }793 }
794 // Could be extended with other non-text types794 // Could be extended with other non-text types
795 if (content.type === 'image_url') {795 if (['image_url', 'video_url'].includes(content.type)) {
796 const token = crypto.randomBytes(32).toString('base64');796 const token = crypto.randomBytes(32).toString('base64');
797 contentTokens.set(token, content);797 contentTokens.set(token, content);
798 return token;798 return token;