From b40a94aac7b08e11b66030c81289889ff17f3803 Mon Sep 17 00:00:00 2001 From: Sambhram1 Date: Thu, 7 May 2026 23:41:42 +0530 Subject: [PATCH] Fix hosted vllm provider label --- .../src/components/provider_info_helpers.test.tsx | 6 ++++++ .../src/components/provider_info_helpers.tsx | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ui/litellm-dashboard/src/components/provider_info_helpers.test.tsx b/ui/litellm-dashboard/src/components/provider_info_helpers.test.tsx index fa014de4e62..7e8d89b79c8 100644 --- a/ui/litellm-dashboard/src/components/provider_info_helpers.test.tsx +++ b/ui/litellm-dashboard/src/components/provider_info_helpers.test.tsx @@ -95,6 +95,12 @@ describe("provider_info_helpers", () => { } }); }); + + it("should use distinct display names for hosted and deprecated vllm providers", () => { + expect(Providers.Hosted_Vllm).toBe("Hosted Vllm"); + expect(Providers.VLLM).toBe("Vllm"); + expect(Providers.Hosted_Vllm).not.toBe(Providers.VLLM); + }); }); describe("getPlaceholder", () => { diff --git a/ui/litellm-dashboard/src/components/provider_info_helpers.tsx b/ui/litellm-dashboard/src/components/provider_info_helpers.tsx index 62c0633d117..ab8478edb26 100644 --- a/ui/litellm-dashboard/src/components/provider_info_helpers.tsx +++ b/ui/litellm-dashboard/src/components/provider_info_helpers.tsx @@ -45,7 +45,7 @@ export enum Providers { GradientAI = "GradientAI", Groq = "Groq", HEROKU = "Heroku", - Hosted_Vllm = "vllm", + Hosted_Vllm = "Hosted Vllm", HUGGINGFACE = "Huggingface", HYPERBOLIC = "Hyperbolic", Infinity = "Infinity",