Allow models to set formatting defaults

Originally omitted when model settings were forced. Now that models can only define the defaults for KoboldAI its a good idea to give model authors control over what formatting they think works best for their models.
This commit is contained in:
henk717 2021-09-21 15:46:54 +02:00
parent b89a988ee4
commit dd1c3ab67e
1 changed files with 2 additions and 0 deletions

View File

@ -915,6 +915,8 @@ def loadmodelsettings():
vars.rep_pen = js["rep_pen"]
if("adventure" in js):
vars.adventure = js["adventure"]
if("formatoptns" in js):
vars.formatoptns = js["formatoptns"]
model_config.close()
#==================================================================#