[PR #1094] [MERGED] feat: support AWS_BEARER_TOKEN_BEDROCK for amazon bedrock provider autoloading #9805

Closed
opened 2026-02-16 18:14:12 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/anomalyco/opencode/pull/1094
Author: @ItsWendell
Created: 7/17/2025
Status: Merged
Merged: 7/17/2025
Merged by: @adamdotdevin

Base: devHead: feat/aws-bearer-token-bedrock


📝 Commits (1)

  • 2d3146f feat: support AWS_BEARER_TOKEN_BEDROCK for amazon bedrock provider autoloading

📊 Changes

2 files changed (+3 additions, -2 deletions)

View changed files

📝 packages/opencode/src/cli/cmd/auth.ts (+1 -1)
📝 packages/opencode/src/provider/provider.ts (+2 -1)

📄 Description

Adds support for auto-loading the Amazon Bedrock provider when AWS_BEARER_TOKEN_BEDROCK is available in the environment. This is a recent addition by AWS to allow for quicker access to Bedrock using API keys, this is since recently supported in the SDKs too.

Resources:
https://docs.aws.amazon.com/bedrock/latest/userguide/api-keys.html

Related:
https://github.com/aws/aws-sdk-js-v3/issues/7204


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/anomalyco/opencode/pull/1094 **Author:** [@ItsWendell](https://github.com/ItsWendell) **Created:** 7/17/2025 **Status:** ✅ Merged **Merged:** 7/17/2025 **Merged by:** [@adamdotdevin](https://github.com/adamdotdevin) **Base:** `dev` ← **Head:** `feat/aws-bearer-token-bedrock` --- ### 📝 Commits (1) - [`2d3146f`](https://github.com/anomalyco/opencode/commit/2d3146f08472cfde54d0835e564c3ad5a3a84b16) feat: support AWS_BEARER_TOKEN_BEDROCK for amazon bedrock provider autoloading ### 📊 Changes **2 files changed** (+3 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `packages/opencode/src/cli/cmd/auth.ts` (+1 -1) 📝 `packages/opencode/src/provider/provider.ts` (+2 -1) </details> ### 📄 Description Adds support for auto-loading the Amazon Bedrock provider when `AWS_BEARER_TOKEN_BEDROCK` is available in the environment. This is a recent addition by AWS to allow for quicker access to Bedrock using API keys, this is since recently supported in the SDKs too. Resources: https://docs.aws.amazon.com/bedrock/latest/userguide/api-keys.html Related: https://github.com/aws/aws-sdk-js-v3/issues/7204 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 18:14:12 -05:00
yindo closed this issue 2026-02-16 18:14:12 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#9805