File tree 1 file changed +4
-0
lines changed
1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -229,8 +229,10 @@ <h3 class="text-md font-medium">{{ $model }}</h3>
229
229
< i class ="fa-solid fa-comments mr-2 "> </ i >
230
230
{{ if $model }}
231
231
{{ $galleryConfig:= index $allGalleryConfigs $model}}
232
+ {{ if $galleryConfig }}
232
233
{{ if $galleryConfig.Icon }}< img src ="{{$galleryConfig.Icon}} " class ="rounded-lg w-8 h-8 mr-2 "> {{end}}
233
234
{{ end }}
235
+ {{ end }}
234
236
< h1 class ="text-lg font-semibold ">
235
237
Chat {{ if .Model }} with {{.Model}} {{ end }}
236
238
</ h1 >
@@ -262,7 +264,9 @@ <h1 class="text-lg font-semibold">
262
264
</ template >
263
265
< template x-if ="message.role != 'user' ">
264
266
< div class ="flex items-center space-x-2 ">
267
+ {{ if $galleryConfig }}
265
268
{{ if $galleryConfig.Icon }}< img src ="{{$galleryConfig.Icon}} " class ="rounded-lg mt-2 max-w-8 max-h-8 "> {{end}}
269
+ {{ end }}
266
270
< div class ="flex flex-col flex-1 ">
267
271
< span class ="text-xs font-semibold text-gray-400 "> {{if .Model}}{{.Model}}{{else}}Assistant{{end}}</ span >
268
272
< div class ="flex-1 text-white flex items-center space-x-2 ">
You can’t perform that action at this time.
0 commit comments