diff --git a/aiserver.py b/aiserver.py index a9207ba2..1638c536 100644 --- a/aiserver.py +++ b/aiserver.py @@ -944,7 +944,7 @@ tags = [ api_version = None # This gets set automatically so don't change this value api_v1 = KoboldAPISpec( - version="1.2.5", + version="1.2.6", prefixes=["/api/v1", "/api/latest"], tags=tags, ) @@ -8251,7 +8251,7 @@ class GenerationInputSchema(SamplerSettingsSchema): frmtrmblln: Optional[bool] = fields.Boolean(metadata={"description": "Output formatting option. When enabled, replaces all occurrences of two or more consecutive newlines in the output with one newline.\n\nIf `disable_output_formatting` is `true`, this defaults to `false` instead of the value in the KoboldAI GUI."}) frmtrmspch: Optional[bool] = fields.Boolean(metadata={"description": "Output formatting option. When enabled, removes `#/@%{}+=~|\^<>` from the output.\n\nIf `disable_output_formatting` is `true`, this defaults to `false` instead of the value in the KoboldAI GUI."}) singleline: Optional[bool] = fields.Boolean(metadata={"description": "Output formatting option. When enabled, removes everything after the first line of the output, including the newline.\n\nIf `disable_output_formatting` is `true`, this defaults to `false` instead of the value in the KoboldAI GUI."}) - use_default_badwordsids: bool = fields.Boolean(load_default=True, metadata={"description": "Ban tokens that commonly worsen the writing experience for continuous story writing"}) + use_default_badwordsids: bool = fields.Boolean(load_default=False, metadata={"description": "Ban tokens that commonly worsen the writing experience for continuous story writing"}) disable_input_formatting: bool = fields.Boolean(load_default=True, metadata={"description": "When enabled, all input formatting options default to `false` instead of the value in the KoboldAI GUI"}) frmtadsnsp: Optional[bool] = fields.Boolean(metadata={"description": "Input formatting option. When enabled, adds a leading space to your input if there is no trailing whitespace at the end of the previous action.\n\nIf `disable_input_formatting` is `true`, this defaults to `false` instead of the value in the KoboldAI GUI."}) quiet: Optional[bool] = fields.Boolean(metadata={"description": "When enabled, Generated output will not be displayed in the console."}) diff --git a/gensettings.py b/gensettings.py index d1aa22d1..69aff8e2 100644 --- a/gensettings.py +++ b/gensettings.py @@ -399,7 +399,7 @@ gensettingstf = [ { "uitype": "toggle", "unit": "bool", - "label": "Ban Bad Tokens", + "label": "Optimize Writing", "id": "setusedefaultbadwordsids", "min": 0, "max": 1,