mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-15 05:45:19 +00:00
Merge pull request #4307 from Yanyutin753/@model_image
💄 Support @Model display model pictures
This commit is contained in:
commit
534c18c94c
1 changed files with 9 additions and 4 deletions
|
|
@ -159,7 +159,12 @@
|
||||||
}}
|
}}
|
||||||
on:focus={() => {}}
|
on:focus={() => {}}
|
||||||
>
|
>
|
||||||
<div class=" font-medium text-black dark:text-gray-100 line-clamp-1">
|
<div class="flex font-medium text-black dark:text-gray-100 line-clamp-1">
|
||||||
|
<img
|
||||||
|
src={model?.info?.meta?.profile_image_url ?? '/static/favicon.png'}
|
||||||
|
alt={model?.name ?? model.id}
|
||||||
|
class="rounded-full size-6 items-center mr-2"
|
||||||
|
/>
|
||||||
{model.name}
|
{model.name}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue