mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
edited char msgs can now show (charname):
- also better SD world prompt
This commit is contained in:
@ -967,9 +967,9 @@ function messageFormating(mes, ch_name, isSystem, forceAvatar) {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ch_name && (forceAvatar || ch_name !== name1)) {
|
/* if (ch_name && (forceAvatar || ch_name !== name1)) {
|
||||||
mes = mes.replaceAll(ch_name + ":", "");
|
mes = mes.replaceAll(ch_name + ":", "");
|
||||||
}
|
} */
|
||||||
|
|
||||||
return mes;
|
return mes;
|
||||||
}
|
}
|
||||||
|
@ -16,8 +16,8 @@ const j = a => a.join(' / ');
|
|||||||
const p = a => `<p>${a}</p>`
|
const p = a => `<p>${a}</p>`
|
||||||
|
|
||||||
const postHeaders = {
|
const postHeaders = {
|
||||||
'Content-Type': 'application/json',
|
'Content-Type': 'application/json',
|
||||||
'Bypass-Tunnel-Reminder': 'bypass',
|
'Bypass-Tunnel-Reminder': 'bypass',
|
||||||
};
|
};
|
||||||
|
|
||||||
const generationMode = {
|
const generationMode = {
|
||||||
@ -36,8 +36,8 @@ const triggerWords = {
|
|||||||
const quietPrompts = {
|
const quietPrompts = {
|
||||||
[generationMode.CHARACTER]: "[Please provide a detailed description of {{char}}'s appearance]",
|
[generationMode.CHARACTER]: "[Please provide a detailed description of {{char}}'s appearance]",
|
||||||
[generationMode.USER]: "[Please provide a detailed description of {{user}}'s appearance]",
|
[generationMode.USER]: "[Please provide a detailed description of {{user}}'s appearance]",
|
||||||
[generationMode.SCENARIO]: '[Please provide a detailed description of your surroundings and what you are doing right now]',
|
[generationMode.SCENARIO]: "[Provide a detailed description for all of the following: {{char}}'s appearance, {{char}}'s surroundings, a brief recap of recent events in the story.]",
|
||||||
[generationMode.FREE]: '[Please provide a detailed and vivid description of {0}]',
|
[generationMode.FREE]: "[Please provide a detailed and vivid description of {0}]",
|
||||||
}
|
}
|
||||||
|
|
||||||
const helpString = [
|
const helpString = [
|
||||||
|
Reference in New Issue
Block a user