From 4896ece68a139bb075106233a4584d7e70395d32 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 3925118a881..58dd6e9b28f 100644 --- a/ui/litellm-dashboard/src/components/provider_info_helpers.tsx +++ b/ui/litellm-dashboard/src/components/provider_info_helpers.tsx @@ -45,6 +45,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"; @@ -180,6 +181,7 @@ export enum Providers { TogetherAI = "TogetherAI", TOPAZ = "Topaz", Triton = "Triton", + Trustedrouter = "Trustedrouter", TypeSafe = "TypeSafe", V0 = "V0", VERCEL_AI_GATEWAY = "Vercel Ai Gateway", @@ -306,6 +308,7 @@ export const provider_map: Record = { TogetherAI: "together_ai", TOPAZ: "topaz", Triton: "triton", + Trustedrouter: "trustedrouter", TypeSafe: "typesafe", V0: "v0", VERCEL_AI_GATEWAY: "vercel_ai_gateway", @@ -412,6 +415,7 @@ export const providerLogoMap: Partial> = { [Providers.TogetherAI]: togetheraiLogo.src, [Providers.TOPAZ]: topazLogo.src, [Providers.Triton]: nvidiaTritonLogo.src, + [Providers.Trustedrouter]: trustedrouterLogo.src, [Providers.TypeSafe]: typesafeLogo.src, [Providers.V0]: v0Logo.src, [Providers.VERCEL_AI_GATEWAY]: vercelLogo.src,