Fix PPP for audio attachments

4fcdec47f4a27e196a8ef851e824891d1d83af00

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

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