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

This commit is contained in:
Saatvik Arya
2025-06-20 17:27:27 -04:00
committed by GitHub
parent 9081e17fcc
commit b8144c5654
+1 -1
View File
@@ -75,7 +75,7 @@ export namespace Provider {
} }
}, },
"amazon-bedrock": async () => { "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" const region = process.env["AWS_REGION"] ?? "us-east-1"