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

Function unset_reserved_args

tools/server/server-models.cpp:91–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89}
90
91static void unset_reserved_args(common_preset & preset, bool unset_model_args) {
92 preset.unset_option("LLAMA_ARG_SSL_KEY_FILE");
93 preset.unset_option("LLAMA_ARG_SSL_CERT_FILE");
94 preset.unset_option("LLAMA_API_KEY");
95 preset.unset_option("LLAMA_ARG_MODELS_DIR");
96 preset.unset_option("LLAMA_ARG_MODELS_MAX");
97 preset.unset_option("LLAMA_ARG_MODELS_PRESET");
98 preset.unset_option("LLAMA_ARG_MODELS_AUTOLOAD");
99 if (unset_model_args) {
100 preset.unset_option("LLAMA_ARG_MODEL");
101 preset.unset_option("LLAMA_ARG_MMPROJ");
102 preset.unset_option("LLAMA_ARG_ALIAS");
103 preset.unset_option("LLAMA_ARG_HF_REPO");
104 }
105}
106
107#ifdef _WIN32
108static std::string wide_to_utf8(const wchar_t * ws) {

Callers 3

update_argsMethod · 0.85
server_modelsMethod · 0.85
init_routesMethod · 0.85

Calls 1

unset_optionMethod · 0.80

Tested by

no test coverage detected