Skip to content

Commit 30cb77a

Browse files
committed
rename replace_instruct_placeholders field
1 parent be3bba6 commit 30cb77a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

klite.embd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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)

koboldcpp.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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")

0 commit comments

Comments
 (0)