fix --skip-chat-parsing and --no-prefill-assistant consume the next argument

This commit is contained in:
firecoperana
2026-07-13 20:59:06 -05:00
parent 7937465ff1
commit 49333012ae
-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;
}