mirror of
https://github.com/ikawrakow/ik_llama.cpp.git
synced 2026-07-20 09:45: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;
|
||||
}
|
||||
if (arg == "--skip-chat-parsing") {
|
||||
CHECK_ARG
|
||||
params.force_pure_content_parser = true;
|
||||
return true;
|
||||
}
|
||||
if (arg == "--no-prefill-assistant") {
|
||||
CHECK_ARG
|
||||
params.prefill_assistant = false;
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user