Fix typo in /config/soft_prompt documentation

This commit is contained in:
vfbd 2022-08-08 19:20:48 -04:00
parent c04e3c5666
commit 5352c14c59
1 changed files with 1 additions and 1 deletions

View File

@ -7276,7 +7276,7 @@ def create_config_endpoint(method="GET", schema="MemorySchema"):
f = api.route(f"/config/{_route_name}", methods=[method])(f)
class SoftPromptSettingSchema(KoboldSchema):
value: str = fields.String(required=True, validate=[soft_prompt_validator, validate.Regexp(r"^[^/\\]*$")], metadata={"description": "Soft prompt name, or a string containing only whitespace for no soft prompt. If using the PUT method and no soft prompt is loaded, this will always be the empty string."})
value: str = fields.String(required=True, validate=[soft_prompt_validator, validate.Regexp(r"^[^/\\]*$")], metadata={"description": "Soft prompt name, or a string containing only whitespace for no soft prompt. If using the GET method and no soft prompt is loaded, this will always be the empty string."})
@api_v1.get("/config/soft_prompt")
@api_schema_wrap