fix: bedrock required fields

This commit is contained in:
jialin
2026-03-18 18:31:29 +08:00
parent eee73be77e
commit f2fe080f7b
@@ -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',