enh: show both model id and hash

This commit is contained in:
Timothy J. Baek 2024-10-08 19:32:53 -07:00
parent 3391a855f0
commit d48f54f7b2

View File

@ -414,7 +414,9 @@
<div class=" text-xs overflow-hidden text-ellipsis line-clamp-1 text-gray-500"> <div class=" text-xs overflow-hidden text-ellipsis line-clamp-1 text-gray-500">
{!!model?.info?.meta?.description {!!model?.info?.meta?.description
? model?.info?.meta?.description ? model?.info?.meta?.description
: (model?.ollama?.digest ?? model.id)} : model?.ollama?.digest
? `${model.id} (${model?.ollama?.digest})`
: model.id}
</div> </div>
</div> </div>
</a> </a>