feat: request base_model tags so search rows get base org avatars

getBaseModels reads cardData.base_model / base_model: tags, which the HF
list endpoint omits by default; search rows therefore fell back to the
repo org avatar. Adding tags to the expand list lets search rows render
the base org avatar as main with the quant org as the corner badge, like
catalog rows.

Assisted-by: pi:GLM-5.3-Flash
This commit is contained in:
Aleksander Grygier
2026-09-01 13:02:41 +02:00
parent cb2a9a7f10
commit b5ec1d2dc0
@@ -33,7 +33,10 @@ export const HF_MODEL_LIST_EXPAND: readonly string[] = [
'lastModified',
'likes',
'pipeline_tag',
'siblings'
'siblings',
// `base_model:` tags, so search rows can show the base org's avatar as the
// main avatar with the quant org as the corner badge, like catalog rows.
'tags'
];
// Repo file conventions