args: fix cli download mmproj arg (#28977)

* tests: add tests for cli download arg parsing

* args: fix cli download mmproj arg
This commit is contained in:
pr3pony authored and GitHub committed 2026-09-30 20:45:39 +02:00
1 parent 4453b535fd
commit feb9a3d6de
2 files changed
+20 -3

No files matched your search

+3
View File
@@ -387,6 +387,9 @@ common_models_handler common_models_handler_init(const common_params & params, l
break;
}
}
if (curr_ex == LLAMA_EXAMPLE_DOWNLOAD) {
use_mmproj = true;
}
opts.bearer_token = params.hf_token;
opts.offline = params.offline;