interrogate max length increased

This commit is contained in:
Concedo 2026-01-13 11:06:05 +08:00
parent 3752040165
commit 612c19afe7

View file

@ -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:")