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 04:17:52 -05:00 committed by GitHub
parent f616fff7d9
commit 3e76852b04
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 2 deletions

View File

@ -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;
} }