Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion litellm/llms/bedrock/messages/readme.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# /v1/messages

This folder contains transformation logic for calling bedrock models in the Anthropic /v1/messages API spec.
This folder contains transformation logic for calling bedrock models in the Anthropic /v1/messages API spec.

## Important Notes

- The `anthropic_beta` header is only forwarded to **Claude models** (models with provider "anthropic")
- Non-Claude models (Qwen, Nova, etc.) will have this header stripped automatically
- This prevents "unknown variant: anthropic_beta" errors on models that don't support Anthropic beta features
- Provider detection is performed using `BedrockLLM.get_bedrock_invoke_provider()` for robust model identification
Loading