llama-stack-mirror/llama_stack/providers/utils/bedrock
Sumanth Kamenani 0b00c68d59
fix: use lambda pattern for bedrock config env vars (#3307)
# What does this PR do?

Improved bedrock provider config to read from environment variables like
AWS_ACCESS_KEY_ID. Updated all
fields to use default_factory with lambda patterns like the nvidia
provider does.

  Now the environment variables work as documented.

  Closes #3305

  ## Test Plan

  Ran the new bedrock config tests:
  ```bash
python -m pytest tests/unit/providers/inference/bedrock/test_config.py
-v

Verified existing provider tests still work:
  python -m pytest tests/unit/providers/test_configs.py -v
2025-09-05 10:45:11 +02:00
..
__init__.py add missing init file 2024-12-17 11:49:03 -08:00
client.py Fix precommit check after moving to ruff (#927) 2025-02-02 06:46:45 -08:00
config.py fix: use lambda pattern for bedrock config env vars (#3307) 2025-09-05 10:45:11 +02:00
refreshable_boto_session.py feat: drop python 3.10 support (#2469) 2025-06-19 12:07:14 +05:30