This commit is contained in:
somebody
2022-09-24 20:47:02 -05:00
parent fa443487e3
commit 317c10583b

View File

@@ -5562,7 +5562,7 @@ def api_raw_generate(
reqdata = {
'prompt': decoded_prompt,
'max_length': max_new,
'max_context_length': gen_settings.max_length,
'max_context_length': koboldai_vars.max_length,
'rep_pen': gen_settings.rep_pen,
'rep_pen_slope': gen_settings.rep_pen_slope,
'rep_pen_range': gen_settings.rep_pen_range,