mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Multiple expressions per group in waifu mode
This commit is contained in:
@ -425,6 +425,8 @@ export const event_types = {
|
||||
IMPERSONATE_READY: 'impersonate_ready',
|
||||
CHAT_CHANGED: 'chat_id_changed',
|
||||
GENERATION_STOPPED: 'generation_stopped',
|
||||
SETTINGS_UPDATED: 'settings_updated',
|
||||
GROUP_UPDATED: 'group_updated',
|
||||
}
|
||||
|
||||
export const eventSource = new EventEmitter();
|
||||
@ -3955,6 +3957,7 @@ function selectKoboldGuiPreset() {
|
||||
|
||||
async function saveSettings(type) {
|
||||
//console.log('Entering settings with name1 = '+name1);
|
||||
eventSource.emit(event_types.SETTINGS_UPDATED);
|
||||
return jQuery.ajax({
|
||||
type: "POST",
|
||||
url: "/savesettings",
|
||||
|
Reference in New Issue
Block a user