diff --git a/integrations/anthropic/src/haystack_integrations/components/generators/anthropic/chat/chat_generator.py b/integrations/anthropic/src/haystack_integrations/components/generators/anthropic/chat/chat_generator.py index fb8ab579b..805bf1230 100644 --- a/integrations/anthropic/src/haystack_integrations/components/generators/anthropic/chat/chat_generator.py +++ b/integrations/anthropic/src/haystack_integrations/components/generators/anthropic/chat/chat_generator.py @@ -115,12 +115,6 @@ def __init__( self.client = Anthropic(api_key=self.api_key.resolve_value()) self.ignore_tools_thinking_messages = ignore_tools_thinking_messages - warnings.warn( - "The output of the AnthropicGenerator will soon change. The 'usage' entry in the 'meta' dictionary " - "will have the keys 'input_tokens' and 'output_tokens' replaced by 'prompt_tokens' and 'completion_tokens' " - "respectively." - ) - warnings.warn( "The `meta` output of the AnthropicChatGenerator will change in the next release to be inline with " "OpenAI `meta`output keys.", stacklevel=2