From 612c19afe75ecbb7d4d0bc61d0f3fa9f6e750d61 Mon Sep 17 00:00:00 2001 From: Concedo <39025047+LostRuins@users.noreply.github.com> Date: Tue, 13 Jan 2026 11:06:05 +0800 Subject: [PATCH] interrogate max length increased --- koboldcpp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koboldcpp.py b/koboldcpp.py index fa98e414f..6e33a3676 100755 --- a/koboldcpp.py +++ b/koboldcpp.py @@ -3156,7 +3156,7 @@ ws ::= | " " | "\n" [ \t]{0,20} elif api_format==5: firstimg = genparams.get('image', "") genparams["images"] = [firstimg] - genparams["max_length"] = 42 + genparams["max_length"] = 150 adapter_obj = {} if chatcompl_adapter is None else chatcompl_adapter user_message_start = adapter_obj.get("user_start", "### Instruction:") assistant_message_start = adapter_obj.get("assistant_start", "### Response:")