- Add clearer authentication method comments in documentation examples
- Include security best practices for API key usage
- Add CLI validation hints for AWS Bedrock API key format
- Implement comprehensive error handling tests (timeout, rate limit, invalid key)
- Add connection error and retry scenario test cases
- Maintain consistency between English and Portuguese documentation
Addresses AI code review feedback on PR #3126
Co-Authored-By: Jo\u00E3o <joao@crewai.com>
- Remove unused pytest import from test_bedrock_authentication.py
- Fixes F401 lint error that was causing CI failure
Co-Authored-By: Jo\u00E3o <joao@crewai.com>
- Add AWS_BEARER_TOKEN_BEDROCK environment variable to CLI constants
- Update English and Portuguese documentation with both IAM and API key auth methods
- Document boto3 v1.393+ requirement for API key authentication
- Add comprehensive tests for both authentication methods
- Include links to AWS console for API key generation
Addresses issue #3125
Co-Authored-By: Jo\u00E3o <joao@crewai.com>