mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-02-21 22:47:41 +01:00
Fix substituting macros in reasoning of a first message
This commit is contained in:
parent
56c9b21a28
commit
67a4d10b75
@ -2003,7 +2003,7 @@ export function messageFormatting(mes, ch_name, isSystem, isUser, messageId, san
|
|||||||
return '';
|
return '';
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Number(messageId) === 0 && !isSystem && !isUser) {
|
if (Number(messageId) === 0 && !isSystem && !isUser && !isReasoning) {
|
||||||
const mesBeforeReplace = mes;
|
const mesBeforeReplace = mes;
|
||||||
const chatMessage = chat[messageId];
|
const chatMessage = chat[messageId];
|
||||||
mes = substituteParams(mes, undefined, ch_name);
|
mes = substituteParams(mes, undefined, ch_name);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user