fix: bedrock required fields
This commit is contained in:
@@ -139,34 +139,6 @@ const useProviderRequiredFields = () => {
|
||||
}
|
||||
],
|
||||
[ProviderEnum.BEDROCK]: [
|
||||
{
|
||||
type: 'Input',
|
||||
name: 'modelVersion',
|
||||
required: false,
|
||||
label: {
|
||||
text: 'providers.form.modelVersion',
|
||||
locale: true
|
||||
},
|
||||
description: {
|
||||
text: 'providers.form.modelVersion.tips',
|
||||
locale: true
|
||||
}
|
||||
},
|
||||
{
|
||||
type: 'Input',
|
||||
name: 'tritonDomain',
|
||||
required: false,
|
||||
label: {
|
||||
text: 'providers.form.tritonDomain',
|
||||
locale: true
|
||||
},
|
||||
description: {
|
||||
text: 'providers.form.tritonDomain.tips',
|
||||
locale: true
|
||||
}
|
||||
}
|
||||
],
|
||||
[ProviderEnum.TRITON]: [
|
||||
{
|
||||
type: 'Input',
|
||||
name: 'awsAccessKey',
|
||||
@@ -200,6 +172,10 @@ const useProviderRequiredFields = () => {
|
||||
{
|
||||
type: 'Input',
|
||||
name: 'awsRegion',
|
||||
placeholder: intl.formatMessage(
|
||||
{ id: 'common.help.eg' },
|
||||
{ content: 'us-eest-1' }
|
||||
),
|
||||
required: true,
|
||||
label: {
|
||||
text: 'providers.form.awsRegion',
|
||||
|
||||
Reference in New Issue
Block a user