mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-22 03:16:35 +00:00
fix: return false for missing AWS_PROFILE in amazon-bedrock provider (#277)
This commit is contained in:
parent
9081e17fcc
commit
b8144c5654
1 changed files with 1 additions and 1 deletions
|
|
@ -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"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue