MCPcopy Create free account
hub / github.com/antirez/llama.cpp-deepseek-v4-flash / is_autoload

Function is_autoload

tools/server/server-models.cpp:917–924  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

915}
916
917static bool is_autoload(const common_params & params, const server_http_req & req) {
918 std::string autoload = req.get_param("autoload");
919 if (autoload.empty()) {
920 return params.models_autoload;
921 } else {
922 return autoload == "true" || autoload == "1";
923 }
924}
925
926void server_models_routes::init_routes() {
927 this->get_router_props = [this](const server_http_req & req) {

Callers 1

init_routesMethod · 0.85

Calls 2

get_paramMethod · 0.80
emptyMethod · 0.45

Tested by

no test coverage detected