fix dashscope api base

This commit is contained in:
Ishaan Jaff
2025-09-11 20:00:54 -07:00
parent 69ef062f55
commit 94038108ad
@@ -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",