mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-03-06 12:47:57 +01:00
Fix prepared prompt not being returned
This commit is contained in:
parent
b8b3dd4caf
commit
e7198c6303
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user