黄腾 aopstudio commited on
Commit
e92bd36
·
1 Parent(s): 06a1df0

Add Explanation for entering the API key when adding an LLM (#2055)

Browse files

### 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 <[email protected]>

web/src/locales/en.ts CHANGED
@@ -466,7 +466,8 @@ The above is the content you need to summarize.`,
466
  modelsToBeAdded: 'Models to be added',
467
  addTheModel: 'Add the model',
468
  apiKey: 'API-Key',
469
- apiKeyMessage: 'Please input api key!',
 
470
  apiKeyTip:
471
  'The API key can be obtained by registering the corresponding LLM supplier.',
472
  showMoreModels: 'Show more models',
 
466
  modelsToBeAdded: 'Models to be added',
467
  addTheModel: 'Add the model',
468
  apiKey: 'API-Key',
469
+ apiKeyMessage:
470
+ 'Please enter the API key (for locally deployed model,ignore this).',
471
  apiKeyTip:
472
  'The API key can be obtained by registering the corresponding LLM supplier.',
473
  showMoreModels: 'Show more models',
web/src/locales/zh-traditional.ts CHANGED
@@ -433,7 +433,7 @@ export default {
433
  modelsToBeAdded: '待添加的模型',
434
  addTheModel: '添加模型',
435
  apiKey: 'api-key',
436
- apiKeyMessage: '請輸入 api key!',
437
  apiKeyTip: 'API key可以通過註冊相應的LLM供應商來獲取。',
438
  showMoreModels: '展示更多模型',
439
  baseUrl: 'base-url',
 
433
  modelsToBeAdded: '待添加的模型',
434
  addTheModel: '添加模型',
435
  apiKey: 'api-key',
436
+ apiKeyMessage: '請輸入api key(如果是本地部署的模型,請忽略它)',
437
  apiKeyTip: 'API key可以通過註冊相應的LLM供應商來獲取。',
438
  showMoreModels: '展示更多模型',
439
  baseUrl: 'base-url',
web/src/locales/zh.ts CHANGED
@@ -450,7 +450,7 @@ export default {
450
  modelsToBeAdded: '待添加的模型',
451
  addTheModel: '添加模型',
452
  apiKey: 'API-Key',
453
- apiKeyMessage: '请输入 api key!',
454
  apiKeyTip: 'API key可以通过注册相应的LLM供应商来获取。',
455
  showMoreModels: '展示更多模型',
456
  baseUrl: 'Base-Url',
 
450
  modelsToBeAdded: '待添加的模型',
451
  addTheModel: '添加模型',
452
  apiKey: 'API-Key',
453
+ apiKeyMessage: '请输入api key(如果是本地部署的模型,请忽略它)',
454
  apiKeyTip: 'API key可以通过注册相应的LLM供应商来获取。',
455
  showMoreModels: '展示更多模型',
456
  baseUrl: 'Base-Url',