From 5c69053074955e113181541dc508799466b890d3 Mon Sep 17 00:00:00 2001 From: Ishaan Jaffer Date: Thu, 15 Jan 2026 15:37:08 -0800 Subject: [PATCH] init _update_headers_with_anthropic_beta - azure AI support --- litellm/llms/azure_ai/anthropic/messages_transformation.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/litellm/llms/azure_ai/anthropic/messages_transformation.py b/litellm/llms/azure_ai/anthropic/messages_transformation.py index 55818cc07d6..0d00c907031 100644 --- a/litellm/llms/azure_ai/anthropic/messages_transformation.py +++ b/litellm/llms/azure_ai/anthropic/messages_transformation.py @@ -62,10 +62,10 @@ class AzureAnthropicMessagesConfig(AnthropicMessagesConfig): if "content-type" not in headers: headers["content-type"] = "application/json" - # Update headers with optional anthropic beta features - headers = self._update_headers_with_optional_anthropic_beta( + # Update headers with anthropic beta features (context management, tool search, etc.) + headers = self._update_headers_with_anthropic_beta( headers=headers, - context_management=optional_params.get("context_management"), + optional_params=optional_params, ) return headers, api_base