mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Merge branch 'staging' into neo-server
This commit is contained in:
@ -4574,7 +4574,7 @@ function addChatsPreamble(mesSendString) {
|
|||||||
|
|
||||||
function addChatsSeparator(mesSendString) {
|
function addChatsSeparator(mesSendString) {
|
||||||
if (power_user.context.chat_start) {
|
if (power_user.context.chat_start) {
|
||||||
return substituteParams(power_user.context.chat_start) + '\n' + mesSendString;
|
return substituteParams(power_user.context.chat_start + '\n') + mesSendString;
|
||||||
}
|
}
|
||||||
|
|
||||||
else {
|
else {
|
||||||
|
@ -1942,7 +1942,9 @@ export function renderStoryString(params) {
|
|||||||
|
|
||||||
// add a newline to the end of the story string if it doesn't have one
|
// add a newline to the end of the story string if it doesn't have one
|
||||||
if (output.length > 0 && !output.endsWith('\n')) {
|
if (output.length > 0 && !output.endsWith('\n')) {
|
||||||
output += '\n';
|
if (!power_user.instruct.enabled || power_user.instruct.wrap) {
|
||||||
|
output += '\n';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return output;
|
return output;
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
<ul>
|
<ul>
|
||||||
<li><tt>{{pipe}}</tt> – only for slash command batching. Replaced with the returned result of the previous command.</li>
|
<li><tt>{{pipe}}</tt> – only for slash command batching. Replaced with the returned result of the previous command.</li>
|
||||||
<li><tt>{{newline}}</tt> – just inserts a newline.</li>
|
<li><tt>{{newline}}</tt> – just inserts a newline.</li>
|
||||||
|
<li><tt>{{trim}}</tt> – trims newlines surrounding this macro.</li>
|
||||||
<li><tt>{{original}}</tt> – global prompts defined in API settings. Only valid in Advanced Definitions prompt overrides.</li>
|
<li><tt>{{original}}</tt> – global prompts defined in API settings. Only valid in Advanced Definitions prompt overrides.</li>
|
||||||
<li><tt>{{input}}</tt> – the user input</li>
|
<li><tt>{{input}}</tt> – the user input</li>
|
||||||
<li><tt>{{charPrompt}}</tt> – the Character's Main Prompt override</li>
|
<li><tt>{{charPrompt}}</tt> – the Character's Main Prompt override</li>
|
||||||
|
Reference in New Issue
Block a user