docs: add AWS Bedrock configuration to .env.example #3559
Merged
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.
Description
Adds AWS Bedrock configuration examples to
.env.exampleto help new users configure AWS Bedrock models.Motivation
The codebase currently supports AWS Bedrock through
ChatAWSBedrockandChatAnthropicBedrockclasses, but the.env.examplefile doesn't include any AWS Bedrock configuration examples. This makes it difficult for new users to know which environment variables are needed and how to configure them.Changes
AWS_ACCESS_KEY_IDAWS_SECRET_ACCESS_KEYAWS_SESSION_TOKEN(marked as optional for temporary credentials)AWS_REGION(with note aboutAWS_DEFAULT_REGIONalternative)pip install browser-use[aws])Testing
browser_use/llm/aws/chat_bedrock.pyandbrowser_use/llm/aws/chat_anthropic.pyexamples/models/aws.pyRelated Files
browser_use/llm/aws/chat_bedrock.pybrowser_use/llm/aws/chat_anthropic.pyexamples/models/aws.pyChecklist
Summary by cubic
Add AWS Bedrock configuration examples to .env.example to simplify setup for Bedrock models. Includes AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, optional AWS_SESSION_TOKEN, AWS_REGION, plus notes on installing browser-use[aws] and required Bedrock access/permissions.
Written for commit d9ff851. Summary will update automatically on new commits.