From 94038108ad75dc25efc2bafbd1d9a7b0165aaa1e Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Thu, 11 Sep 2025 20:00:54 -0700 Subject: [PATCH] fix dashscope api base --- .../add_model/provider_specific_fields.tsx | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) 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 ce19a248f8..a76d7b64ff 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 = 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",