chore: generate

pull/6333/head
GitHub Action 2025-12-29 04:44:48 +00:00
parent 893888536a
commit 896d18ab3f
1 changed files with 2 additions and 2 deletions

View File

@ -169,7 +169,7 @@ export namespace Provider {
const awsProfile = Env.get("AWS_PROFILE")
const awsAccessKeyId = Env.get("AWS_ACCESS_KEY_ID")
const awsRegion = Env.get("AWS_REGION")
const awsBearerToken = iife(() => {
const envToken = Env.get("AWS_BEARER_TOKEN_BEDROCK")
if (envToken) return envToken
@ -179,7 +179,7 @@ export namespace Provider {
}
return undefined
})
if (!awsProfile && !awsAccessKeyId && !awsBearerToken) return { autoload: false }
const defaultRegion = awsRegion ?? "us-east-1"