mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Reformat system message using array of strings
This commit is contained in:
@ -125,12 +125,14 @@ const system_messages = {
|
|||||||
is_user: false,
|
is_user: false,
|
||||||
is_system: true,
|
is_system: true,
|
||||||
is_name: true,
|
is_name: true,
|
||||||
mes: `Hi there! The following chat formatting commands are supported:<br>
|
mes: [
|
||||||
<ul>
|
'Hi there! The following chat formatting commands are supported:',
|
||||||
<li><tt>*text*</tt> – format the actions that your character does</li>
|
'<ol>',
|
||||||
<li><tt>{*text*}</tt> – set the behavioral bias for your character</li>
|
'<li><tt>*text*</tt> – format the actions that your character does</li>',
|
||||||
</ul>
|
'<li><tt>{*text*}</tt> – set the behavioral bias for your character</li>',
|
||||||
<p>Need more help? Visit our wiki – <a href=\"https://github.com/TavernAI/TavernAI/wiki\">TavernAI Wiki</a>!</p>`,
|
'</ol>',
|
||||||
|
'Need more help? Visit our wiki – <a href=\"https://github.com/TavernAI/TavernAI/wiki\">TavernAI Wiki</a>!'
|
||||||
|
].join('')
|
||||||
},
|
},
|
||||||
welcome:
|
welcome:
|
||||||
{
|
{
|
||||||
@ -138,9 +140,16 @@ const system_messages = {
|
|||||||
force_avatar: system_avatar,
|
force_avatar: system_avatar,
|
||||||
is_user: false,
|
is_user: false,
|
||||||
is_name: true,
|
is_name: true,
|
||||||
mes:
|
mes: [
|
||||||
'Hello there! In order to begin chatting:<ol><li>Connect to one of the supported generation APIs</li><li>Create or pick a character from the list</li></ol>' +
|
'Welcome to TavernAI! In order to begin chatting:',
|
||||||
'Still have questions left? Check out built-in help or visit our <a target="_blank" href="https://github.com/TavernAI/TavernAI/wiki">TavernAI Wiki</a>!'
|
'<ul>',
|
||||||
|
'<li>Connect to one of the supported generation APIs</li>',
|
||||||
|
'<li>Create or pick a character from the list</li>',
|
||||||
|
'</ul>',
|
||||||
|
'Still have questions left?\n',
|
||||||
|
'Check out built-in help by typing <tt>/?</tt> in any chat or visit our ',
|
||||||
|
'<a target="_blank" href="https://github.com/TavernAI/TavernAI/wiki">TavernAI Wiki</a>!'
|
||||||
|
].join('')
|
||||||
},
|
},
|
||||||
group: {
|
group: {
|
||||||
name: systemUserName,
|
name: systemUserName,
|
||||||
|
Reference in New Issue
Block a user