diff --git a/common/download.cpp b/common/download.cpp index 8175efe90..72d4e068d 100644 --- a/common/download.cpp +++ b/common/download.cpp @@ -1009,9 +1009,7 @@ std::vector common_list_cached_models() { // } common_download_model_result common_download_model(const common_params_model & model, - const common_download_opts & opts, - bool download_mmproj, - bool download_mtp) { + const common_download_opts & opts) { throw std::runtime_error("download functionality is not enabled in this build"); }