mirror of
https://github.com/QuantumNous/new-api.git
synced 2026-09-03 23:02:58 +00:00
resolveModelProvider in model-badge.tsx only covered mainstream providers (OpenAI/Claude/Gemini/Grok/DeepSeek/Qwen/Doubao/Moonshot/Mistral/Meta/Cohere). Models from Zhipu (glm-), MiniMax, Xiaomi MiMo, Baidu (ernie), iFlyTek (spark), Tencent (hunyuan), Baichuan, InternLM, StepFun, and Yi rendered as grey dots instead of their brand icons in the usage logs table. Add keyword mappings for these providers, aligning coverage with the classic frontend's getModelCategories. Icons resolved via @lobehub/icons.