Skip to content

Commit 2eca76a

Browse files
shrey150claude
andcommitted
fix: rename hasExplicitAwsCreds to hasBedrockCredentials
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 715d0b2 commit 2eca76a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/server-v3/src/lib/InMemorySessionStore.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,10 +216,10 @@ export class InMemorySessionStore implements SessionStore {
216216
...requestModelClientOptions,
217217
};
218218

219-
const hasExplicitAwsCreds =
219+
const hasBedrockCredentials =
220220
modelClientOptions.accessKeyId && modelClientOptions.secretAccessKey;
221221

222-
if (ctx.modelApiKey && !modelClientOptions.apiKey && !hasExplicitAwsCreds) {
222+
if (ctx.modelApiKey && !modelClientOptions.apiKey && !hasBedrockCredentials) {
223223
modelClientOptions.apiKey = ctx.modelApiKey;
224224
}
225225

0 commit comments

Comments
 (0)