mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Add /sendas command
This commit is contained in:
@ -171,8 +171,8 @@ function setOpenAIMessages(chat) {
|
||||
role = 'system';
|
||||
}
|
||||
|
||||
// for groups - prepend a character's name
|
||||
if (selected_group) {
|
||||
// for groups or sendas command - prepend a character's name
|
||||
if (selected_group || chat[j].force_avatar) {
|
||||
content = `${chat[j].name}: ${content}`;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user