Skip to content

docs(bedrock): clarify inference profile model IDs#1515

Open
wilyan09007 wants to merge 1 commit intoanthropics:mainfrom
wilyan09007:issue-894-bedrock-inference-profile-docs
Open

docs(bedrock): clarify inference profile model IDs#1515
wilyan09007 wants to merge 1 commit intoanthropics:mainfrom
wilyan09007:issue-894-bedrock-inference-profile-docs

Conversation

@wilyan09007
Copy link
Copy Markdown

What

Updates the Bedrock example to use an inference profile model ID and documents that some Bedrock models require an inference profile ID or ARN instead of a bare foundation model ID for on-demand throughput.

Why

Fixes #894.

The previous example could lead users to Bedrock validation errors when invoking models that require inference profiles.

Verification / How to test

  • uv run ruff format --check examples\bedrock.py
  • uv run ruff check examples\bedrock.py
  • uv run --all-extras pytest tests\lib\test_bedrock.py -n0 -k "messages_retries or application_inference_profile or api_key_auth"
  • git diff --check HEAD~1..HEAD

@wilyan09007 wilyan09007 requested a review from a team as a code owner May 8, 2026 00:31
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.

Bedrock needs inference profile ARN instead of model name

1 participant