Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

fix: spark provider field name (#955)

zxhlyha7c78d2cd252
diff --git a/web/app/components/header/account-setting/model-page/configs/spark.tsx b/web/app/components/header/account-setting/model-page/configs/spark.tsx
index 4ddec68e5a0..e7ede200226 100644
--- a/web/app/components/header/account-setting/model-page/configs/spark.tsx
+++ b/web/app/components/header/account-setting/model-page/configs/spark.tsx
@@ -42,12 +42,12 @@ const config: ProviderConfig = {
key: 'app_id',
required: true,
label: {
- 'en': 'API ID',
- 'zh-Hans': 'API ID',
+ 'en': 'APPID',
+ 'zh-Hans': 'APPID',
},
placeholder: {
- 'en': 'Enter your API ID here',
- 'zh-Hans': '在此输入您的 API ID',
+ 'en': 'Enter your APPID here',
+ 'zh-Hans': '在此输入您的 APPID',
},
},
{
@@ -55,12 +55,12 @@ const config: ProviderConfig = {
key: 'api_secret',
required: true,
label: {
- 'en': 'API Secret',
- 'zh-Hans': 'API Secret',
+ 'en': 'APISecret',
+ 'zh-Hans': 'APISecret',
},
placeholder: {
- 'en': 'Enter your API Secret here',
- 'zh-Hans': '在此输入您的 API Secret',
+ 'en': 'Enter your APISecret here',
+ 'zh-Hans': '在此输入您的 APISecret',
},
},
{
@@ -68,12 +68,12 @@ const config: ProviderConfig = {
key: 'api_key',
required: true,
label: {
- 'en': 'API Key',
- 'zh-Hans': 'API Key',
+ 'en': 'APIKey',
+ 'zh-Hans': 'APIKey',
},
placeholder: {
- 'en': 'Enter your API key here',
- 'zh-Hans': '在此输入您的 API Key',
+ 'en': 'Enter your APIKey here',
+ 'zh-Hans': '在此输入您的 APIKey',
},
},
],