mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-08 03:08:45 +00:00
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
This commit is contained in:
parent
b0169bcec7
commit
7fcbc7035d
2 changed files with 11 additions and 0 deletions
|
|
@ -0,0 +1,7 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="2">
|
||||
<path d="M1.4 7.5 H6.5 L11 12" stroke="#1f2328"/>
|
||||
<path d="M1.4 16.5 H4 L8.5 12" stroke="#1f2328"/>
|
||||
<path d="M1.4 12 H15.5" stroke="#1f2328"/>
|
||||
<path d="M17.4 12 H22.6" stroke="#0F9D58"/>
|
||||
<circle cx="15.5" cy="12" r="1.9" fill="#0F9D58"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 392 B |
|
|
@ -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<string, string> = {
|
|||
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<Record<Providers, string>> = {
|
|||
[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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue