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 12:49:17 +02:00
parent c26ffe3440
commit 5cbfb9e5b0
@@ -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