feat: allow to use IAM Role for Bedrock (#5188)

This commit is contained in:
Masashi Tomooka 2024-06-14 16:18:42 +09:00 • committed by GitHub
commit 0633aae7dc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 9 additions and 9 deletions

View file

@ -205,7 +205,7 @@ const ModelModal: FC<ModelModalProps> = ({
const encodeSecretValues = useCallback((v: FormValue) => {
const result = { ...v }
extendedSecretFormSchemas.forEach(({ variable }) => {
if (result[variable] === formSchemasValue?.[variable])
if (result[variable] === formSchemasValue?.[variable] && result[variable] !== undefined)
result[variable] = '[__HIDDEN__]'
})
return result