1
0
Fork 0

fix(api): use correct name for min prompt length

This commit is contained in:
Sean Sube 2024-02-24 13:35:05 -06:00
parent 1e1e77bf94
commit 324bef51d0
Signed by: ssube
GPG Key ID: 3EED7B957D362AF1
1 changed files with 1 additions and 1 deletions

View File

@ -399,7 +399,7 @@ def build_prompt_editing(
add_suffix = data.get("addSuffix", get_config_value("promptEditing.addSuffix")) add_suffix = data.get("addSuffix", get_config_value("promptEditing.addSuffix"))
min_length = get_and_clamp_int( min_length = get_and_clamp_int(
data, data,
"promptEditing.minLength", "minLength",
get_config_value("promptEditing.minLength"), get_config_value("promptEditing.minLength"),
get_config_value("promptEditing.minLength", "max"), get_config_value("promptEditing.minLength", "max"),
get_config_value("promptEditing.minLength", "min"), get_config_value("promptEditing.minLength", "min"),