mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-29 01:42:19 +00:00
feat(ui): list Sail in the Add Model provider picker
This commit is contained in:
parent
fdcccc674a
commit
5cbb318aac
2 changed files with 8 additions and 0 deletions
|
|
@ -194,6 +194,7 @@ describe("provider_info_helpers", () => {
|
|||
Providers.PETALS,
|
||||
Providers.PG_VECTOR,
|
||||
Providers.PREDIBASE,
|
||||
Providers.Sail,
|
||||
Providers.WANDB,
|
||||
Providers.ZAI,
|
||||
];
|
||||
|
|
@ -304,6 +305,10 @@ describe("provider_info_helpers", () => {
|
|||
expect(getPlaceholder(Providers.Cognition)).toBe("cognition/swe-1.7");
|
||||
});
|
||||
|
||||
it("should return a sail/ placeholder for the Sail provider", () => {
|
||||
expect(getPlaceholder(Providers.Sail)).toBe("sail/zai-org/GLM-5.3");
|
||||
});
|
||||
|
||||
it("should return a chatgpt/ placeholder for the CHATGPT dropdown key", () => {
|
||||
expect(getPlaceholder("CHATGPT")).toBe("chatgpt/gpt-5.4");
|
||||
});
|
||||
|
|
|
|||
|
|
@ -160,6 +160,7 @@ export enum Providers {
|
|||
REPLICATE = "Replicate",
|
||||
RunwayML = "RunwayML",
|
||||
SAGEMAKER_LEGACY = "Sagemaker",
|
||||
Sail = "Sail",
|
||||
Sambanova = "Sambanova",
|
||||
SAP = "SAP Generative AI Hub",
|
||||
SCX_AI = "SCX.ai",
|
||||
|
|
@ -278,6 +279,7 @@ export const provider_map: Record<string, string> = {
|
|||
RunwayML: "runwayml",
|
||||
SAGEMAKER_LEGACY: "sagemaker",
|
||||
SageMaker: "sagemaker_chat",
|
||||
Sail: "sail",
|
||||
Sambanova: "sambanova",
|
||||
SAP: "sap",
|
||||
SCX_AI: "scx-ai",
|
||||
|
|
@ -447,6 +449,7 @@ const providerPlaceholderMap: Partial<Record<Providers, string>> = {
|
|||
[Providers.NVIDIA_RIVA]: "nvidia_riva/nvidia/parakeet-ctc-1_1b-asr",
|
||||
[Providers.Oracle]: "oci/xai.grok-4",
|
||||
[Providers.RunwayML]: "runwayml/gen4_turbo",
|
||||
[Providers.Sail]: "sail/zai-org/GLM-5.3",
|
||||
[Providers.SageMaker]: "sagemaker/jumpstart-dft-meta-textgeneration-llama-2-7b",
|
||||
[Providers.SCX_AI]: "scx-ai/GLM-5.2",
|
||||
[Providers.Snowflake]: "snowflake/mistral-7b",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue