docs: make Bedrock configuration optional for Claude Code (#428)#436
Open
aadil79 wants to merge 2 commits into
Open
docs: make Bedrock configuration optional for Claude Code (#428)#436aadil79 wants to merge 2 commits into
aadil79 wants to merge 2 commits into
Conversation
Default settings.json now works with plain Claude Code (direct Anthropic API) without Bedrock-specific env vars. Bedrock config moved to an optional section in the README with copy-paste env block. Fixes awslabs#428
6a29802 to
ca66d15
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Default settings.json now works with plain Claude Code (direct Anthropic API) without Bedrock-specific env vars. Bedrock config moved to an optional section in the README with copy-paste env block.
Fixes #428
Summary
Default
settings.jsonfor the Claude harness now works with plain Claude Code (direct Anthropic API) withoutrequiring Bedrock configuration.
Changes
CLAUDE_CODE_USE_BEDROCK,AWS_REGION, model IDs) from defaultharness/claude/settings.jsonopus[1m](Bedrock format) toopusUser experience
Before:
Users running plain Claude Code (direct Anthropic API) would hit API errors immediately on first run because
settings.json ships with CLAUDE_CODE_USE_BEDROCK=1 and Bedrock-specific model IDs baked in. The only workaround
was manually editing settings.json to remove these env vars — but the README didn't explain this, making it look
like Bedrock was a hard requirement.
/aidlc --doctor
✻ API error · Retrying in 0s · attempt 4/10
After:
settings.json works out of the box with plain Claude Code — no Bedrock setup needed. Users who want Bedrock can
opt in by adding the env vars from a clearly documented optional section in the README. Both paths work; neither
is broken by default.
Checklist
If your change doesn't seem to apply, please leave them unchecked.
Test Plan
bun scripts/package.ts --checkpasses (all harnesses in sync)Acknowledgment
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the project license.