From 35e880c432891fa36d5c02c7b86f27f2b052ef38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E8=85=BE?= <101850389+hangters@users.noreply.github.com> Date: Thu, 22 Aug 2024 16:46:10 +0800 Subject: [PATCH] Add Explanation for entering the API key when adding an LLM (#2055) ### What problem does this PR solve? Add Explanation for entering the API key when adding an LLM ### Type of change - [x] Performance Improvement --------- Co-authored-by: Zhedong Cen --- web/src/locales/en.ts | 3 ++- web/src/locales/zh-traditional.ts | 2 +- web/src/locales/zh.ts | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/web/src/locales/en.ts b/web/src/locales/en.ts index e368f6d81..84566d488 100644 --- a/web/src/locales/en.ts +++ b/web/src/locales/en.ts @@ -466,7 +466,8 @@ The above is the content you need to summarize.`, modelsToBeAdded: 'Models to be added', addTheModel: 'Add the model', apiKey: 'API-Key', - apiKeyMessage: 'Please input api key!', + apiKeyMessage: + 'Please enter the API key (for locally deployed model,ignore this).', apiKeyTip: 'The API key can be obtained by registering the corresponding LLM supplier.', showMoreModels: 'Show more models', diff --git a/web/src/locales/zh-traditional.ts b/web/src/locales/zh-traditional.ts index 86afb866b..7ba9fbf15 100644 --- a/web/src/locales/zh-traditional.ts +++ b/web/src/locales/zh-traditional.ts @@ -433,7 +433,7 @@ export default { modelsToBeAdded: '待添加的模型', addTheModel: '添加模型', apiKey: 'api-key', - apiKeyMessage: '請輸入 api key!', + apiKeyMessage: '請輸入api key(如果是本地部署的模型,請忽略它)', apiKeyTip: 'API key可以通過註冊相應的LLM供應商來獲取。', showMoreModels: '展示更多模型', baseUrl: 'base-url', diff --git a/web/src/locales/zh.ts b/web/src/locales/zh.ts index 68c91cbbf..9f04fbdda 100644 --- a/web/src/locales/zh.ts +++ b/web/src/locales/zh.ts @@ -450,7 +450,7 @@ export default { modelsToBeAdded: '待添加的模型', addTheModel: '添加模型', apiKey: 'API-Key', - apiKeyMessage: '请输入 api key!', + apiKeyMessage: '请输入api key(如果是本地部署的模型,请忽略它)', apiKeyTip: 'API key可以通过注册相应的LLM供应商来获取。', showMoreModels: '展示更多模型', baseUrl: 'Base-Url',