Fix substituting macros in reasoning of a first message

67a4d10b75e58922b519192d64b5a8fdd3dda430

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

1 files changed, +1 -1Showing whitespace changes
public/script.js+1 -1
@@ -2003,7 +2003,7 @@ export function messageFormatting(mes, ch_name, isSystem, isUser, messageId, san
20032003 return '';
20042004 }
20052005
20062006 if (Number(messageId) === 0 && !isSystem && !isUser && !isReasoning) {
20072007 const mesBeforeReplace = mes;
20082008 const chatMessage = chat[messageId];
20092009 mes = substituteParams(mes, undefined, ch_name);