File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -14383,7 +14383,7 @@ Current version indicated by LITEVER below.
1438314383 let et = get_instruct_endtag(true);
1438414384 if(st=="{{[INPUT]}}" && et=="{{[OUTPUT]}}")
1438514385 {
14386- submit_payload.params.autoguess_format = true;
14386+ submit_payload.params.replace_instruct_placeholders = true;
1438714387 }
1438814388 }
1438914389 if(custom_kobold_endpoint != "" && is_using_kcpp_with_dry() && localsettings.dry_multiplier > 0)
Original file line number Diff line number Diff line change @@ -1153,8 +1153,8 @@ def generate(genparams, stream_flag=False):
11531153 banned_tokens = genparams .get ('banned_tokens' , banned_strings )
11541154 bypass_eos_token = genparams .get ('bypass_eos' , False )
11551155 custom_token_bans = genparams .get ('custom_token_bans' , '' )
1156- autoguess_format = genparams .get ('autoguess_format ' , False )
1157- if autoguess_format :
1156+ replace_instruct_placeholders = genparams .get ('replace_instruct_placeholders ' , False )
1157+ if replace_instruct_placeholders :
11581158 adapter_obj = {} if chatcompl_adapter is None else chatcompl_adapter
11591159 system_message_start = adapter_obj .get ("system_start" , "\n ### Instruction:\n " )
11601160 user_message_start = adapter_obj .get ("user_start" , "\n ### Instruction:\n " )
You can’t perform that action at this time.
0 commit comments