mirror of
https://github.com/ikawrakow/ik_llama.cpp.git
synced 2026-07-21 02:05:35 +00:00
fix --skip-chat-parsing and --no-prefill-assistant consume the next argument (#2129)
Co-authored-by: firecoperana <firecoperana>
This commit is contained in:
co-authored by
firecoperana <firecoperana>
parent
f616fff7d9
commit
3e76852b04
@@ -2721,12 +2721,10 @@ bool gpt_params_find_arg(int argc, char ** argv, const std::string & arg, gpt_pa
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
if (arg == "--skip-chat-parsing") {
|
if (arg == "--skip-chat-parsing") {
|
||||||
CHECK_ARG
|
|
||||||
params.force_pure_content_parser = true;
|
params.force_pure_content_parser = true;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
if (arg == "--no-prefill-assistant") {
|
if (arg == "--no-prefill-assistant") {
|
||||||
CHECK_ARG
|
|
||||||
params.prefill_assistant = false;
|
params.prefill_assistant = false;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user