mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Fix prepared prompt not being returned
This commit is contained in:
@ -509,7 +509,7 @@ PromptManagerModule.prototype.preparePrompt = function (prompt) {
|
|||||||
const preparedPrompt = new Prompt(prompt);
|
const preparedPrompt = new Prompt(prompt);
|
||||||
preparedPrompt.content = substituteParams(prompt.content);
|
preparedPrompt.content = substituteParams(prompt.content);
|
||||||
|
|
||||||
return new Prompt(prompt);
|
return preparedPrompt;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user