Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

fix dashscope api base

Ishaan Jaff94038108ad75
diff --git a/ui/litellm-dashboard/src/components/add_model/provider_specific_fields.tsx b/ui/litellm-dashboard/src/components/add_model/provider_specific_fields.tsx
index ce19a248f83..a76d7b64ffe 100644
--- a/ui/litellm-dashboard/src/components/add_model/provider_specific_fields.tsx
+++ b/ui/litellm-dashboard/src/components/add_model/provider_specific_fields.tsx
@@ -206,6 +206,22 @@ const PROVIDER_CREDENTIAL_FIELDS: Record<Providers, ProviderCredentialField[]> =
required: true
}
],
+ [Providers.Dashscope]: [
+ {
+ key: "api_key",
+ label: "Dashscope API Key",
+ type: "password",
+ required: true
+ },
+ {
+ key: "api_base",
+ label: "API Base",
+ placeholder: "https://dashscope-intl.aliyuncs.com/compatible-mode/v1",
+ defaultValue: "https://dashscope-intl.aliyuncs.com/compatible-mode/v1",
+ required: true,
+ tooltip: "The base URL for your Dashscope server. Defaults to https://dashscope-intl.aliyuncs.com/compatible-mode/v1 if not specified."
+ }
+ ],
[Providers.OpenAI_Text_Compatible]: [
{
key: "api_base",