Skip to content

Conversation

@ricky-aufvaa
Copy link
Contributor

@ricky-aufvaa ricky-aufvaa commented Nov 11, 2025

Description

Adds AWS Bedrock configuration examples to .env.example to help new users configure AWS Bedrock models.

Motivation

The codebase currently supports AWS Bedrock through ChatAWSBedrock and ChatAnthropicBedrock classes, but the .env.example file 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

  • Added AWS Bedrock configuration section with all required environment variables:
    • AWS_ACCESS_KEY_ID
    • AWS_SECRET_ACCESS_KEY
    • AWS_SESSION_TOKEN (marked as optional for temporary credentials)
    • AWS_REGION (with note about AWS_DEFAULT_REGION alternative)
  • Included helpful comments about:
    • Installation requirements (pip install browser-use[aws])
    • AWS Bedrock access and permissions requirements
    • When session token is needed

Testing

  • Verified the environment variables match those used in browser_use/llm/aws/chat_bedrock.py and browser_use/llm/aws/chat_anthropic.py
  • Confirmed consistency with the example in examples/models/aws.py

Related Files

  • Implementation: browser_use/llm/aws/chat_bedrock.py
  • Implementation: browser_use/llm/aws/chat_anthropic.py
  • Example usage: examples/models/aws.py

Checklist

  • Documentation updated
  • Changes are consistent with existing code
  • Follows project's formatting conventions

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.

@CLAassistant
Copy link

CLAassistant commented Nov 11, 2025

CLA assistant check
All committers have signed the CLA.

Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 1 file

@mertunsall mertunsall merged commit 8c30187 into browser-use:main Nov 13, 2025
43 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants