We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 715d0b2 commit 2eca76aCopy full SHA for 2eca76a
packages/server-v3/src/lib/InMemorySessionStore.ts
@@ -216,10 +216,10 @@ export class InMemorySessionStore implements SessionStore {
216
...requestModelClientOptions,
217
};
218
219
- const hasExplicitAwsCreds =
+ const hasBedrockCredentials =
220
modelClientOptions.accessKeyId && modelClientOptions.secretAccessKey;
221
222
- if (ctx.modelApiKey && !modelClientOptions.apiKey && !hasExplicitAwsCreds) {
+ if (ctx.modelApiKey && !modelClientOptions.apiKey && !hasBedrockCredentials) {
223
modelClientOptions.apiKey = ctx.modelApiKey;
224
}
225
0 commit comments