mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Pass chat message name to chatcompletion endpoint
This commit is contained in:
@ -546,6 +546,8 @@ PromptManagerModule.prototype.preparePrompt = function (prompt, original = null)
|
||||
else preparedPrompt.content = substituteParams(prompt.content);
|
||||
}
|
||||
|
||||
if (prompt.name) preparedPrompt.name = prompt.name;
|
||||
|
||||
return preparedPrompt;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user