From 345f84f1354f359512d20c35b83e09d475512e7b Mon Sep 17 00:00:00 2001 From: Ettore Di Giacinto Date: Thu, 27 Feb 2025 19:11:47 +0100 Subject: [PATCH] fix(ui): not all models comes from gallery 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.