mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
Fix typo in /config/soft_prompt documentation
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user