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:
parent
4974c81d4c
commit
023d3fade2
|
@ -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();
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue