Fix extension prompt being not parsed correctly
This commit is contained in:
parent
64c04957c2
commit
a66041f503
|
@ -412,7 +412,7 @@ async function prepareOpenAIMessages({ systemPrompt, name2, charDescription, cha
|
|||
}
|
||||
|
||||
// Handle extension prompt
|
||||
if (extensionPrompt) chatCompletion.insertAfter('worldInfoAfter', 'extensionPrompt', extensionPrompt);
|
||||
if (extensionPrompt) chatCompletion.insertAfter('worldInfoAfter', 'extensionPrompt', chatCompletion.makeSystemMessage(substituteParams(extensionPrompt)));
|
||||
|
||||
// Handle bias settings
|
||||
if (bias && bias.trim().length) chatCompletion.add(biasMessage);
|
||||
|
|
Loading…
Reference in New Issue