Do not assign openai_max_tokens on input field changes

Fixes prompt manager falsely assigning string value to openai config
This commit is contained in:
maver 2023-07-08 16:30:29 +02:00
parent 4974c81d4c
commit 023d3fade2
1 changed files with 0 additions and 1 deletions

View File

@ -397,7 +397,6 @@ PromptManagerModule.prototype.init = function (moduleConfiguration, serviceSetti
});
document.getElementById('openai_max_tokens').addEventListener('change', (event) => {
this.serviceSettings.openai_max_tokens = event.target.value;
if (this.activeCharacter) this.render();
});