mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-02-18 21:20:39 +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 '';
|
||||
}
|
||||
|
||||
if (Number(messageId) === 0 && !isSystem && !isUser) {
|
||||
if (Number(messageId) === 0 && !isSystem && !isUser && !isReasoning) {
|
||||
const mesBeforeReplace = mes;
|
||||
const chatMessage = chat[messageId];
|
||||
mes = substituteParams(mes, undefined, ch_name);
|
||||
|
Loading…
x
Reference in New Issue
Block a user