mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Remove obsolete default settings in prompt manager constructor
This commit is contained in:
@ -83,7 +83,6 @@ function PromptManagerModule() {
|
||||
};
|
||||
|
||||
this.serviceSettings = null;
|
||||
this.defaultServiceSettings = null;
|
||||
this.containerElement = null;
|
||||
this.listElement = null;
|
||||
this.activeCharacter = null;
|
||||
@ -110,10 +109,9 @@ function PromptManagerModule() {
|
||||
};
|
||||
}
|
||||
|
||||
PromptManagerModule.prototype.init = function (moduleConfiguration, serviceSettings, defaultServiceSettings = []) {
|
||||
PromptManagerModule.prototype.init = function (moduleConfiguration, serviceSettings) {
|
||||
this.configuration = Object.assign(this.configuration, moduleConfiguration);
|
||||
this.serviceSettings = serviceSettings;
|
||||
this.defaultServiceSettings = defaultServiceSettings;
|
||||
this.containerElement = document.getElementById(this.configuration.containerIdentifier);
|
||||
|
||||
this.sanitizeServiceSettings();
|
||||
|
Reference in New Issue
Block a user