Skip to content

Commit 950680e

Browse files
s
1 parent 0f46fe0 commit 950680e

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
### Added
11+
- Added fallback to default the Node.JS AWS SDK's `fromNodeProviderChain` when no credentials are provided for a bedrock config. [#513](https://github.com/sourcebot-dev/sourcebot/pull/513)
12+
1013
## [4.6.8] - 2025-09-15
1114

1215
### Fixed

packages/web/src/features/chat/actions.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -397,6 +397,8 @@ export const _getAISDKLanguageModelAndOptions = async (config: LanguageModel, or
397397
headers: config.headers
398398
? await extractLanguageModelKeyValuePairs(config.headers, orgId, prisma)
399399
: undefined,
400+
// Fallback to the default Node.js credential provider chain if no credentials are provided.
401+
// See: https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-credential-providers/#fromnodeproviderchain
400402
credentialProvider: !config.accessKeyId && !config.accessKeySecret && !config.sessionToken
401403
? fromNodeProviderChain()
402404
: undefined,

0 commit comments

Comments
 (0)