From aef2b14e6bdc2d57e66bca3853d08aab54ebab15 Mon Sep 17 00:00:00 2001 From: Tianyi Chen Date: Thu, 23 Apr 2026 19:29:17 -0700 Subject: [PATCH] fix(bedrock): opt into httpBearerAuth when apiKey is set --- core/llm/llms/Bedrock.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/llm/llms/Bedrock.ts b/core/llm/llms/Bedrock.ts index bc9566cbecc..c65035f2531 100644 --- a/core/llm/llms/Bedrock.ts +++ b/core/llm/llms/Bedrock.ts @@ -77,7 +77,8 @@ class Bedrock extends BaseLLM { region: this.region, endpoint: this.apiBase, token: async () => ({ token: this.apiKey! }), - }); + authSchemePreference: ["httpBearerAuth"], + } as any); } // IAM credential authentication