Skip to content

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

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

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

Conversation

@wilyan09007
Copy link
Copy Markdown

@wilyan09007 wilyan09007 commented May 8, 2026

Summary:
Fixes #894 by clarifying that some Bedrock models require an inference profile ID or ARN instead of a bare model ID. The example now uses an inference profile ID by default.

Changes:

  • Add guidance for inference profile IDs and ARNs.
  • Change the example model value to an inference profile ID.
  • Reuse the documented model constant in both example calls.

Testing instructions:

  • Run uv run ruff format --check examples\bedrock.py.
  • Run uv run ruff check examples\bedrock.py.
  • Run uv run --all-extras pytest tests\lib\test_bedrock.py -n0 -k "messages_retries or application_inference_profile or api_key_auth".
  • Confirm the example shows an inference profile ID.

@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