Fix hosted vllm provider label

This commit is contained in:
Sambhram1 2026-05-07 23:36:11 +05:30
parent fee5900acc
commit d9d12bf6a7
2 changed files with 7 additions and 1 deletions

View file

@ -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", () => {

View file

@ -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",