feat: add multi model credentials (#24451)
Co-authored-by: zxhlyh <jasonapring2015@outlook.com> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
parent
b08bfa203a
commit
6010d5f24c
65 changed files with 5202 additions and 1814 deletions
|
|
@ -40,6 +40,7 @@ const translation = {
|
|||
deleteApp: 'Delete App',
|
||||
settings: 'Settings',
|
||||
setup: 'Setup',
|
||||
config: 'Config',
|
||||
getForFree: 'Get for free',
|
||||
reload: 'Reload',
|
||||
ok: 'OK',
|
||||
|
|
@ -466,7 +467,7 @@ const translation = {
|
|||
loadPresets: 'Load Presets',
|
||||
parameters: 'PARAMETERS',
|
||||
loadBalancing: 'Load balancing',
|
||||
loadBalancingDescription: 'Reduce pressure with multiple sets of credentials.',
|
||||
loadBalancingDescription: 'Configure multiple credentials for the model and invoke them automatically. ',
|
||||
loadBalancingHeadline: 'Load Balancing',
|
||||
configLoadBalancing: 'Config Load Balancing',
|
||||
modelHasBeenDeprecated: 'This model has been deprecated',
|
||||
|
|
@ -486,6 +487,28 @@ const translation = {
|
|||
discoverMore: 'Discover more in ',
|
||||
emptyProviderTitle: 'Model provider not set up',
|
||||
emptyProviderTip: 'Please install a model provider first.',
|
||||
auth: {
|
||||
unAuthorized: 'Unauthorized',
|
||||
authRemoved: 'Auth removed',
|
||||
apiKeys: 'API Keys',
|
||||
addApiKey: 'Add API Key',
|
||||
addNewModel: 'Add new model',
|
||||
addCredential: 'Add credential',
|
||||
addModelCredential: 'Add model credential',
|
||||
modelCredentials: 'Model credentials',
|
||||
configModel: 'Config model',
|
||||
configLoadBalancing: 'Config Load Balancing',
|
||||
authorizationError: 'Authorization error',
|
||||
specifyModelCredential: 'Specify model credential',
|
||||
specifyModelCredentialTip: 'Use a configured model credential.',
|
||||
providerManaged: 'Provider managed',
|
||||
providerManagedTip: 'The current configuration is hosted by the provider.',
|
||||
apiKeyModal: {
|
||||
title: 'API Key Authorization Configuration',
|
||||
desc: 'After configuring credentials, all members within the workspace can use this model when orchestrating applications.',
|
||||
addModel: 'Add model',
|
||||
},
|
||||
},
|
||||
},
|
||||
dataSource: {
|
||||
add: 'Add a data source',
|
||||
|
|
|
|||
|
|
@ -297,6 +297,9 @@ const translation = {
|
|||
authRemoved: 'Auth removed',
|
||||
clientInfo: 'As no system client secrets found for this tool provider, setup it manually is required, for redirect_uri, please use',
|
||||
oauthClient: 'OAuth Client',
|
||||
credentialUnavailable: 'Credentials currently unavailable. Please contact admin.',
|
||||
customCredentialUnavailable: 'Custom credentials currently unavailable',
|
||||
unavailable: 'Unavailable',
|
||||
},
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -40,6 +40,7 @@ const translation = {
|
|||
deleteApp: '删除应用',
|
||||
settings: '设置',
|
||||
setup: '设置',
|
||||
config: '配置',
|
||||
getForFree: '免费获取',
|
||||
reload: '刷新',
|
||||
ok: '好的',
|
||||
|
|
@ -465,7 +466,7 @@ const translation = {
|
|||
loadPresets: '加载预设',
|
||||
parameters: '参数',
|
||||
loadBalancing: '负载均衡',
|
||||
loadBalancingDescription: '为了减轻单组凭据的压力,您可以为模型调用配置多组凭据。',
|
||||
loadBalancingDescription: '为模型配置多组凭据,并自动调用。',
|
||||
loadBalancingHeadline: '负载均衡',
|
||||
configLoadBalancing: '设置负载均衡',
|
||||
modelHasBeenDeprecated: '该模型已废弃',
|
||||
|
|
@ -486,6 +487,28 @@ const translation = {
|
|||
discoverMore: '发现更多就在',
|
||||
emptyProviderTitle: '尚未安装模型供应商',
|
||||
emptyProviderTip: '请安装模型供应商。',
|
||||
auth: {
|
||||
unAuthorized: '未授权',
|
||||
authRemoved: '授权已移除',
|
||||
apiKeys: 'API 密钥',
|
||||
addApiKey: '添加 API 密钥',
|
||||
addNewModel: '添加新模型',
|
||||
addCredential: '添加凭据',
|
||||
addModelCredential: '添加模型凭据',
|
||||
modelCredentials: '模型凭据',
|
||||
configModel: '配置模型',
|
||||
configLoadBalancing: '配置负载均衡',
|
||||
authorizationError: '授权错误',
|
||||
specifyModelCredential: '指定模型凭据',
|
||||
specifyModelCredentialTip: '使用已配置的模型凭据。',
|
||||
providerManaged: '由模型供应商管理',
|
||||
providerManagedTip: '使用模型供应商提供的单组凭据。',
|
||||
apiKeyModal: {
|
||||
title: 'API 密钥授权配置',
|
||||
desc: '配置凭据后,工作空间中的所有成员都可以在编排应用时使用此模型。',
|
||||
addModel: '添加模型',
|
||||
},
|
||||
},
|
||||
},
|
||||
dataSource: {
|
||||
add: '添加数据源',
|
||||
|
|
|
|||
|
|
@ -297,6 +297,9 @@ const translation = {
|
|||
authRemoved: '凭据已移除',
|
||||
clientInfo: '由于未找到此工具提供者的系统客户端密钥,因此需要手动设置,对于 redirect_uri,请使用',
|
||||
oauthClient: 'OAuth 客户端',
|
||||
credentialUnavailable: '自定义凭据当前不可用,请联系管理员。',
|
||||
customCredentialUnavailable: '自定义凭据当前不可用',
|
||||
unavailable: '不可用',
|
||||
},
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue