From d2ed2b48a8636b575cf24aed4e41a6231cd4c939 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 19 Nov 2025 22:13:39 +0000 Subject: [PATCH] Fix: Show MCP toggle for all models with MCP config, not just gallery models Co-authored-by: mudler <2420543+mudler@users.noreply.github.com> --- core/http/views/chat.html | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/core/http/views/chat.html b/core/http/views/chat.html index dd917612a..7dce5ba66 100644 --- a/core/http/views/chat.html +++ b/core/http/views/chat.html @@ -419,8 +419,7 @@ SOFTWARE. {{ if $model }} - {{ $galleryConfig:= index $allGalleryConfigs $model}} - {{ if $galleryConfig }} + {{ $modelConfig := "" }} {{ range .ModelsConfig }} {{ if eq .Name $model }} @@ -449,7 +448,6 @@ SOFTWARE. {{ end }} {{ end }} - {{ end }}