Fix PPP for audio attachments

4fcdec47f4a27e196a8ef851e824891d1d83af00

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

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