From 6d0712fa6dadc9d6ef8349cdac72e55380de0a85 Mon Sep 17 00:00:00 2001 From: Ettore Di Giacinto Date: Thu, 27 Feb 2025 19:12:41 +0100 Subject: [PATCH] fix(ui): not all models comes from gallery (#4915) Signed-off-by: Ettore Di Giacinto --- core/http/views/chat.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/http/views/chat.html b/core/http/views/chat.html index b9a40687..3486e101 100644 --- a/core/http/views/chat.html +++ b/core/http/views/chat.html @@ -229,8 +229,10 @@ SOFTWARE. {{ if $model }} {{ $galleryConfig:= index $allGalleryConfigs $model}} + {{ if $galleryConfig }} {{ if $galleryConfig.Icon }}{{end}} {{ end }} + {{ end }}

Chat {{ if .Model }} with {{.Model}} {{ end }}

@@ -262,7 +264,9 @@ SOFTWARE.