Repository navigation
fix(ui): add brand icons for all provider auth choices - #127668
Conversation
The provider picker enumerates every plugin's providerAuthChoices (63 provider ids), but the bundled icon set only covered CodexBar's 52 marks, so Arcee, Baseten, BytePlus, Cerebras, Cohere, DeepInfra, Featherless, Fireworks, Hugging Face, Meta, NVIDIA, Together, and many more rendered as lettered fallback badges. Adds 24 monochrome marks from @lobehub/icons-static-svg v1.94.0 (MIT, metadata-cleaned; mapping documented in ATTRIBUTION.md) and aliases variant provider ids (kilocode, kimi-coding, xiaomi, ollama-cloud, tencent-tokenhub, vercel-ai-gateway, ...) onto existing marks. GMI Cloud, SGLang, and Vydra keep the lettered fallback: no vector mark exists upstream.
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Before/after proof — live dev gateway (isolated Before — lettered fallbacks for Arcee, Baseten, BytePlus, Cerebras, Cohere, DeepInfra, Featherless, Fireworks, Hugging Face, Kilo Gateway, and more: After — every row carries a brand mark (GMI Cloud intentionally keeps the lettered fallback; no vector mark exists upstream): |
|
Codex review: needs maintainer review before merge. Reviewed August 21, 2026, 6:53 PM ET / 22:53 UTC. ClawSweeper reviewWhat this changesAdds 24 provider-brand SVG assets, maps provider IDs and aliases to them in the shared Control UI resolver, and records MIT attribution. Merge readinessKeep open. The patch extends the existing shared provider-icon resolver and static-asset path without introducing a parallel UI flow; no actionable correctness or security defect was found. Exact-head CI is still in progress, and the PR is maintainer-labeled. Priority: P3 Review scores
Verification
Live VerificationEntry: Result: FAIL (partial) — step 2 Steps:
How this fits togetherGateway-provided provider identities feed Control UI setup and model surfaces, which use one resolver to select a static brand mask or a letter fallback. The result appears in onboarding, model pickers, and provider settings. flowchart LR
A[Gateway provider identities] --> B[Control UI setup and model data]
B --> C[Shared provider icon resolver]
C --> D{Bundled brand asset?}
D -->|yes| E[SVG mask icon]
D -->|no| F[Letter fallback]
E --> G[Onboarding, picker, and settings]
F --> G
Before merge
Agent review detailsSecurityNone. PR surfaceSource +63, Docs +59. Total +122 across 26 files. View PR surface stats
Review metrics
Stored data modelPersistent data-model change detected: Technical reviewBest possible solution: Land the complete static-asset and alias set through the existing shared resolver once the remaining exact-head checks are green. Do we have a high-confidence way to reproduce the issue? Not applicable: this is a visual polish change to an existing fallback, not a separately reported runtime failure. Is this the best way to solve the issue? Yes. Extending the existing shared resolver covers onboarding, model pickers, and settings without duplicating provider-specific rendering logic. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 74c1900e630f. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
|
Merged via squash.
|
The provider picker enumerates every plugin's providerAuthChoices (63 provider ids), but the bundled icon set only covered CodexBar's 52 marks, so Arcee, Baseten, BytePlus, Cerebras, Cohere, DeepInfra, Featherless, Fireworks, Hugging Face, Meta, NVIDIA, Together, and many more rendered as lettered fallback badges. Adds 24 monochrome marks from @lobehub/icons-static-svg v1.94.0 (MIT, metadata-cleaned; mapping documented in ATTRIBUTION.md) and aliases variant provider ids (kilocode, kimi-coding, xiaomi, ollama-cloud, tencent-tokenhub, vercel-ai-gateway, ...) onto existing marks. GMI Cloud, SGLang, and Vydra keep the lettered fallback: no vector mark exists upstream.




What Problem This Solves
The model-setup provider picker (and every other surface rendering provider brand icons: chat model picker, model-providers settings, session catalogs) fell back to lettered placeholder badges for a large share of providers. The bundled icon set was a one-for-one copy of CodexBar's 52 marks, while the picker enumerates every plugin that declares
providerAuthChoices— 63 provider ids. Arcee, Baseten, BytePlus, Cerebras, Cohere, DeepInfra, Featherless, Fireworks, Hugging Face, Meta, Microsoft Foundry, Novita, NVIDIA, Qianfan, Tencent, Together, Vercel AI Gateway, vLLM, Volcengine, and more all rendered as letters.Why This Change Was Made
Operator-facing polish on a default path: the provider picker is the first thing a new operator sees during onboarding, and a wall of lettered badges reads as broken. Icons are rendered as CSS masks, so monochrome marks drop in with zero runtime changes.
User Impact
@lobehub/icons-static-svgv1.94.0, MIT; metadata-cleaned): arcee, baseten, byteplus, cerebras, cloudflare, cohere, comfy, deepinfra, fal, featherless, fireworks, huggingface, meta, microsoft, novita, nvidia, pixverse, qianfan, runway, tencent, together, vercel, vllm, volcengine.kilocode→kilo,kimi-coding→kimi,xiaomi/xiaomi-token-plan→mimo,copilot-proxy→copilot,ollama-cloud→ollama,minimax-portal→minimax,stepfun-plan→stepfun,qwen-token-plan→alibaba,tencent-tokenhub/tencent-tokenplan→tencent,cloudflare-ai-gateway→cloudflare,microsoft-foundry→microsoft,vercel-ai-gateway→vercel.ui/public/provider-icons/ATTRIBUTION.mdalongside the existing CodexBar section.Evidence
providerAuthChoicesprovider id acrossextensions/*/openclaw.plugin.jsonagainst the resolved icon set reports only the three no-vector-mark providers missing; every icon name inPROVIDER_ICON_NAMEShas a matching asset and vice versa.node scripts/check-changed.mjs -- ui/src/components/provider-icon.tsgreen (typecheck UI, lint, i18n verify).node scripts/run-vitest.mjs ui/src/pages/model-providers/view.test.ts— 36/36 passed.gpt-5.6-sol, high): clean, no findings.Before/after screenshots (dev gateway, Model Setup provider picker) are attached in the first PR comment.