fix: send anthropic-workspace-id header for Bedrock Mantle

This commit is contained in:
Gunjan Jaswal 2026-07-03 03:38:36 +05:30
parent 710f6b2dcd
commit 5fae714b23

View file

@ -70,7 +70,7 @@ class AmazonMantleConfig(AmazonAnthropicClaudeConfig):
)
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
def transform_request(