mirror of
https://github.com/sst/opencode.git
synced 2025-08-31 10:17:26 +00:00
aws autoload include more env vars
This commit is contained in:
parent
00c4d4f9f8
commit
f0e19a6542
1 changed files with 2 additions and 1 deletions
|
@ -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"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue