Fix substituting macros in reasoning of a first message
| @@ -2003,7 +2003,7 @@ export function messageFormatting(mes, ch_name, isSystem, isUser, messageId, san | ||
| 2003 | 2003 | return ''; |
| 2004 | 2004 | } |
| 2005 | 2005 | |
| 2006 | 2006 | if (Number(messageId) === 0 && !isSystem && !isUser && !isReasoning) { |
| 2007 | 2007 | const mesBeforeReplace = mes; |
| 2008 | 2008 | const chatMessage = chat[messageId]; |
| 2009 | 2009 | mes = substituteParams(mes, undefined, ch_name); |