mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Assorted fixes and improvements (#1208)
* Kobold Presets fixed * Help texts fixed * Scale API for connectAPISlash * Quick Reply checkboxes fixed * New Instruct Mode Presets * More date/time macros * ChatML context template and instruct prompt format * Mistral context template and instruct prompt format * Removed use_default_badwordsids from kobold presets * Renamed ChatML to Mistral-OpenOrca (ChatML) * Renamed Mistral-OpenOrca (removed ChatML) * Removed single_line from kobold presets * Removed obsolete use_stop_sequence setting * Ban EOS Token off by default * Split AI Resp. Conf. in global and preset-specific settings * Resolve conflicts * Fix title * Add translations for new help texts * Fix i18n.json whitespace * Make Mistral-OpenOrca system prompt more generic * Renamed "Mistral-OpenOrca" to "ChatML" again * More (UI) fixes and improvements * Sendas hint fixed --------- Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
This commit is contained in:
@ -57,7 +57,7 @@ class SlashCommandParser {
|
||||
|
||||
let stringBuilder = `<span class="monospace">/${command}</span> ${helpString} `;
|
||||
if (Array.isArray(aliases) && aliases.length) {
|
||||
let aliasesString = `(aliases: ${aliases.map(x => `<span class="monospace">/${x}</span>`).join(', ')})`;
|
||||
let aliasesString = `(alias: ${aliases.map(x => `<span class="monospace">/${x}</span>`).join(', ')})`;
|
||||
stringBuilder += aliasesString;
|
||||
}
|
||||
this.helpStrings.push(stringBuilder);
|
||||
@ -118,7 +118,7 @@ parser.addCommand('name', setNameCallback, ['persona'], '<span class="monospace"
|
||||
parser.addCommand('sync', syncCallback, [], ' – syncs user name in user-attributed messages in the current chat', true, true);
|
||||
parser.addCommand('lock', bindCallback, ['bind'], ' – locks/unlocks a persona (name and avatar) to the current chat', true, true);
|
||||
parser.addCommand('bg', setBackgroundCallback, ['background'], '<span class="monospace">(filename)</span> – sets a background according to filename, partial names allowed, will set the first one alphabetically if multiple files begin with the provided argument string', false, true);
|
||||
parser.addCommand('sendas', sendMessageAs, [], ` – sends message as a specific character.<br>Example:<br><pre><code>/sendas Chloe\nHello, guys!</code></pre>will send "Hello, guys!" from "Chloe".<br>Uses character avatar if it exists in the characters list.`, true, true);
|
||||
parser.addCommand('sendas', sendMessageAs, [], ` – sends message as a specific character. Uses character avatar if it exists in the characters list. Example that will send "Hello, guys!" from "Chloe": <pre><code>/sendas Chloe Hello, guys!</code></pre>`, true, true);
|
||||
parser.addCommand('sys', sendNarratorMessage, ['nar'], '<span class="monospace">(text)</span> – sends message as a system narrator', false, true);
|
||||
parser.addCommand('sysname', setNarratorName, [], '<span class="monospace">(name)</span> – sets a name for future system narrator messages in this chat (display only). Default: System. Leave empty to reset.', true, true);
|
||||
parser.addCommand('comment', sendCommentMessage, [], '<span class="monospace">(text)</span> – adds a note/comment message not part of the chat', false, true);
|
||||
|
Reference in New Issue
Block a user