aws autoload include more env vars

This commit is contained in:
Dax Raad 2025-06-22 20:16:10 -04:00
parent 00c4d4f9f8
commit f0e19a6542

View file

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