Skip to content

Commit fd3c337

Browse files
committed
i18n: add embedding_api_base hint translations
1 parent 5b31476 commit fd3c337

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

dashboard/src/i18n/locales/en-US/features/config-metadata.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1084,7 +1084,8 @@
10841084
"description": "API Key"
10851085
},
10861086
"embedding_api_base": {
1087-
"description": "API Base URL"
1087+
"description": "API Base URL",
1088+
"hint": "OpenAI Embedding automatically appends /v1 at request time. For Gemini Embedding, use https://generativelanguage.googleapis.com and do not add /v1beta manually."
10881089
},
10891090
"volcengine_cluster": {
10901091
"description": "Volcengine cluster",

dashboard/src/i18n/locales/zh-CN/features/config-metadata.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1087,7 +1087,8 @@
10871087
"description": "API Key"
10881088
},
10891089
"embedding_api_base": {
1090-
"description": "API Base URL"
1090+
"description": "API Base URL",
1091+
"hint": "OpenAI Embedding 会在请求时自动补上 /v1。Gemini Embedding 建议填写 https://generativelanguage.googleapis.com,无需手动添加 /v1beta。"
10911092
},
10921093
"volcengine_cluster": {
10931094
"description": "火山引擎集群",

0 commit comments

Comments
 (0)