Repository navigation
Fix: add missing model provider icons - #17122
Conversation
Some model providers (FuturMix, Astraflow, Astraflow-CN, Xiaomi, TokenHub, Qiniu, HuaweiCloud, OrcaRouter, FastEmbed, Grok, SentenceTransformers, Nomic AI, BAAI, YouDao, FunASR) rendered no icon in the model provider list because their icons were absent from both the iconfont symbol set and the local SVG assets. - Add SVG icons for the missing providers under web/src/assets/svg/llm - Add the missing FunASR entry to IconMap - Route the affected providers through the local SVG rendering path
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (14)
📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThe LLM icon configuration now recognizes additional providers as SVG-backed and maps FunASR to the ChangesLLM provider icon routing
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related PRs
Suggested labels: Suggested reviewers: Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
Several model providers rendered a blank icon in the model provider list because their icons were missing from both the iconfont symbol set (
web/public/iconfont.js) and the local SVG assets (web/src/assets/svg/llm/).Affected providers: FuturMix, Astraflow, Astraflow-CN, Xiaomi, TokenHub, Qiniu, HuaweiCloud, OrcaRouter, FastEmbed, Grok, SentenceTransformers, Nomic AI, BAAI, YouDao, and FunASR (which also lacked an
IconMapentry).Changes:
web/src/assets/svg/llm/FunASRentry toIconMapinweb/src/constants/llm.tsweb/src/components/svg-icon.tsx