From 5cbfb9e5b090cbfcf95cbacde0c2183a96cebdfb Mon Sep 17 00:00:00 2001 From: Aleksander Grygier Date: Tue, 1 Sep 2026 12:49:17 +0200 Subject: [PATCH] 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 --- tools/ui/src/lib/constants/huggingface.constants.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tools/ui/src/lib/constants/huggingface.constants.ts b/tools/ui/src/lib/constants/huggingface.constants.ts index f3b97e5cc1..bf67b39a7b 100644 --- a/tools/ui/src/lib/constants/huggingface.constants.ts +++ b/tools/ui/src/lib/constants/huggingface.constants.ts @@ -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