From 7fcbc7035d561dd0ba6a5a5144b1f025a8ad3373 Mon Sep 17 00:00:00 2001 From: Joseph Perla Date: Sat, 25 Jul 2026 10:14:29 -0700 Subject: [PATCH] feat(ui): add TrustedRouter to the model-add provider dropdown Mirror the Openrouter entry so TrustedRouter is a first-class option in the Add Model provider dropdown: the Providers enum, provider_map pointing at the trustedrouter custom_llm_provider, and providerLogoMap with a new trustedrouter.svg mark. This completes the user-facing surface for the provider registered in this PR --- ui/litellm-dashboard/public/assets/logos/trustedrouter.svg | 7 +++++++ .../src/components/provider_info_helpers.tsx | 4 ++++ 2 files changed, 11 insertions(+) create mode 100644 ui/litellm-dashboard/public/assets/logos/trustedrouter.svg diff --git a/ui/litellm-dashboard/public/assets/logos/trustedrouter.svg b/ui/litellm-dashboard/public/assets/logos/trustedrouter.svg new file mode 100644 index 00000000000..b4d9f4cd233 --- /dev/null +++ b/ui/litellm-dashboard/public/assets/logos/trustedrouter.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/ui/litellm-dashboard/src/components/provider_info_helpers.tsx b/ui/litellm-dashboard/src/components/provider_info_helpers.tsx index c97bb8ede3d..db7562f0991 100644 --- a/ui/litellm-dashboard/src/components/provider_info_helpers.tsx +++ b/ui/litellm-dashboard/src/components/provider_info_helpers.tsx @@ -42,6 +42,7 @@ import nvidiaTritonLogo from "../../public/assets/logos/nvidia_triton.png"; import ollamaLogo from "../../public/assets/logos/ollama.svg"; import openaiSmallLogo from "../../public/assets/logos/openai_small.svg"; import openrouterLogo from "../../public/assets/logos/openrouter.svg"; +import trustedrouterLogo from "../../public/assets/logos/trustedrouter.svg"; import oracleLogo from "../../public/assets/logos/oracle.svg"; import perplexityAiLogo from "../../public/assets/logos/perplexity-ai.svg"; import qwenLogo from "../../public/assets/logos/qwen.png"; @@ -161,6 +162,7 @@ export enum Providers { TogetherAI = "TogetherAI", TOPAZ = "Topaz", Triton = "Triton", + Trustedrouter = "Trustedrouter", V0 = "V0", VERCEL_AI_GATEWAY = "Vercel Ai Gateway", Vertex_AI = "Vertex AI (Anthropic, Gemini, etc.)", @@ -273,6 +275,7 @@ export const provider_map: Record = { TogetherAI: "together_ai", TOPAZ: "topaz", Triton: "triton", + Trustedrouter: "trustedrouter", V0: "v0", VERCEL_AI_GATEWAY: "vercel_ai_gateway", Vertex_AI: "vertex_ai", @@ -366,6 +369,7 @@ export const providerLogoMap: Partial> = { [Providers.TogetherAI]: togetheraiLogo.src, [Providers.TOPAZ]: topazLogo.src, [Providers.Triton]: nvidiaTritonLogo.src, + [Providers.Trustedrouter]: trustedrouterLogo.src, [Providers.V0]: v0Logo.src, [Providers.VERCEL_AI_GATEWAY]: vercelLogo.src, [Providers.Vertex_AI]: googleLogo.src,