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:
parent
b89a988ee4
commit
dd1c3ab67e
|
@ -915,6 +915,8 @@ def loadmodelsettings():
|
||||||
vars.rep_pen = js["rep_pen"]
|
vars.rep_pen = js["rep_pen"]
|
||||||
if("adventure" in js):
|
if("adventure" in js):
|
||||||
vars.adventure = js["adventure"]
|
vars.adventure = js["adventure"]
|
||||||
|
if("formatoptns" in js):
|
||||||
|
vars.formatoptns = js["formatoptns"]
|
||||||
model_config.close()
|
model_config.close()
|
||||||
|
|
||||||
#==================================================================#
|
#==================================================================#
|
||||||
|
|
Loading…
Reference in New Issue