fix: return false for missing AWS_PROFILE in amazon-bedrock provider (#277)

pull/285/head
Saatvik Arya 2025-06-21 02:57:27 +05:30 committed by GitHub
parent 9081e17fcc
commit b8144c5654
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ export namespace Provider {
}
},
"amazon-bedrock": async () => {
if (!process.env["AWS_PROFILE"]) false
if (!process.env["AWS_PROFILE"]) return false
const region = process.env["AWS_REGION"] ?? "us-east-1"