Skip to content

Fix: add missing model provider icons - #17122

Merged
wangq8 merged 1 commit into
infiniflow:mainfrom
euvre:fix/missing-llm-provider-icons
Jul 20, 2026
Merged

wangq8 merged 1 commit into
infiniflow:mainfrom
euvre:fix/missing-llm-provider-icons

Conversation

@euvre

@euvre euvre commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

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 IconMap entry).

Changes:

  • Add SVG icons for all affected providers under web/src/assets/svg/llm/
  • Add the missing FunASR entry to IconMap in web/src/constants/llm.ts
  • Route the affected providers through the local SVG rendering path in web/src/components/svg-icon.tsx

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
@dosubot dosubot Bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Jul 20, 2026
@euvre euvre added the ci Continue Integration label Jul 20, 2026
@coderabbitai

coderabbitai Bot commented Jul 20, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 975c11f9-1e80-43c1-b897-e1e985825465

📥 Commits

Reviewing files that changed from the base of the PR and between 9a2a3c0 and 2fc163e.

⛔ Files ignored due to path filters (14)
  • web/src/assets/svg/llm/astraflow.svg is excluded by !**/*.svg
  • web/src/assets/svg/llm/baai.svg is excluded by !**/*.svg
  • web/src/assets/svg/llm/fastembed.svg is excluded by !**/*.svg
  • web/src/assets/svg/llm/funasr.svg is excluded by !**/*.svg
  • web/src/assets/svg/llm/futurmix.svg is excluded by !**/*.svg
  • web/src/assets/svg/llm/grok.svg is excluded by !**/*.svg
  • web/src/assets/svg/llm/huaweicloud.svg is excluded by !**/*.svg
  • web/src/assets/svg/llm/nomic-ai.svg is excluded by !**/*.svg
  • web/src/assets/svg/llm/orcarouter.svg is excluded by !**/*.svg
  • web/src/assets/svg/llm/qiniu.svg is excluded by !**/*.svg
  • web/src/assets/svg/llm/sentence-transformers.svg is excluded by !**/*.svg
  • web/src/assets/svg/llm/tokenhub.svg is excluded by !**/*.svg
  • web/src/assets/svg/llm/xiaomi.svg is excluded by !**/*.svg
  • web/src/assets/svg/llm/youdao.svg is excluded by !**/*.svg
📒 Files selected for processing (2)
  • web/src/components/svg-icon.tsx
  • web/src/constants/llm.ts

📝 Walkthrough

Walkthrough

The LLM icon configuration now recognizes additional providers as SVG-backed and maps FunASR to the funasr icon identifier.

Changes

LLM provider icon routing

Layer / File(s) Summary
Provider icon mappings
web/src/components/svg-icon.tsx, web/src/constants/llm.ts
Additional LLM providers route through SVG rendering, while LLMFactory.FunASR maps to the funasr icon.

Estimated code review effort: 2 (Simple) | ~10 minutes

Possibly related PRs

Suggested labels: 🧰 typescript, size:M

Suggested reviewers: cike8899

Poem

I’m a bunny with icons, hopping bright,
New SVG stars now shine just right.
FunASR joins the icon parade,
With funasr neatly displayed.
Hop, hop—provider paths are made!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly matches the PR’s main change: adding missing model provider icons.
Description check ✅ Passed The description includes the required Summary, background, affected providers, and implementation details.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@euvre
euvre requested a review from wangq8 July 20, 2026 11:10
@wangq8
wangq8 merged commit 33765c1 into infiniflow:main Jul 20, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci Continue Integration size:S This PR changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants