fix: send anthropic-workspace-id header for Bedrock Mantle (messages surface)

This commit is contained in:
Gunjan Jaswal 2026-07-03 03:38:38 +05:30
parent 5fae714b23
commit 01e6693aa7

View file

@ -67,7 +67,7 @@ class AmazonMantleMessagesConfig(AmazonAnthropicClaudeMessagesConfig):
)
project_id = litellm_params.get("aws_bedrock_project_id")
if project_id:
headers["anthropic-workspace"] = project_id
headers["anthropic-workspace-id"] = project_id
return headers, api_base
def transform_anthropic_messages_request(