fix --skip-chat-parsing and --no-prefill-assistant consume the next argument (#2129)

Co-authored-by: firecoperana <firecoperana>
This commit is contained in:
firecoperana
2026-07-14 12:17:52 +03:00
committed by GitHub
co-authored by firecoperana <firecoperana>
parent f616fff7d9
commit 3e76852b04
-2
View File
@@ -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;
}