Skip to content

Commit c2f3899

Browse files
authored
Bump boto3 to support AWS_BEARER_TOKEN_BEDROCK API key env var (#2456)
1 parent 915135f commit c2f3899

File tree

3 files changed

+13
-11
lines changed

3 files changed

+13
-11
lines changed

docs/models/bedrock.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ To use [AWS Bedrock](https://aws.amazon.com/bedrock/), you'll need an AWS accoun
1919
You can set your AWS credentials as environment variables ([among other options](https://boto3.amazonaws.com/v1/documentation/api/latest/guide/configuration.html#using-environment-variables)):
2020

2121
```bash
22+
export AWS_BEARER_TOKEN_BEDROCK='your-api-key'
23+
# or:
2224
export AWS_ACCESS_KEY_ID='your-access-key'
2325
export AWS_SECRET_ACCESS_KEY='your-secret-key'
2426
export AWS_DEFAULT_REGION='us-east-1' # or your preferred region

pydantic_ai_slim/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ google = ["google-genai>=1.28.0"]
6969
anthropic = ["anthropic>=0.61.0"]
7070
groq = ["groq>=0.19.0"]
7171
mistral = ["mistralai>=1.9.2"]
72-
bedrock = ["boto3>=1.37.24"]
72+
bedrock = ["boto3>=1.39.0"]
7373
huggingface = ["huggingface-hub[inference]>=0.33.5"]
7474
# Tools
7575
duckduckgo = ["ddgs>=9.0.0"]

uv.lock

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)