server : skip MCP discovery for router children (#32359)

This commit is contained in:
Evan Huus authored and GitHub committed 2026-11-15 23:55:33 +01:00
1 parent fc504f91d8
commit 1719dbb0ee
1 file changed
+2
+2
View File
@@ -294,6 +294,8 @@ static void unset_reserved_args(common_preset & preset, bool unset_model_args) {
preset.unset_option("LLAMA_ARG_MODELS_AUTOLOAD");
preset.unset_option("LLAMA_ARG_CONNECT");
preset.unset_option("LLAMA_ARG_CONNECT_CODE");
preset.unset_option("LLAMA_ARG_MCP_SERVERS_CONFIG");
preset.unset_option("LLAMA_ARG_MCP_SERVERS_JSON");
if (unset_model_args) {
preset.unset_option("LLAMA_ARG_MODEL");
preset.unset_option("LLAMA_ARG_SHARD");