fix(api): use correct name for min prompt length
This commit is contained in:
parent
1e1e77bf94
commit
324bef51d0
|
@ -399,7 +399,7 @@ def build_prompt_editing(
|
|||
add_suffix = data.get("addSuffix", get_config_value("promptEditing.addSuffix"))
|
||||
min_length = get_and_clamp_int(
|
||||
data,
|
||||
"promptEditing.minLength",
|
||||
"minLength",
|
||||
get_config_value("promptEditing.minLength"),
|
||||
get_config_value("promptEditing.minLength", "max"),
|
||||
get_config_value("promptEditing.minLength", "min"),
|
||||
|
|
Loading…
Reference in New Issue