diff --git a/libs/partners/anthropic/langchain_anthropic/llms.py b/libs/partners/anthropic/langchain_anthropic/llms.py index 21356bc6df..e9ab14a397 100644 --- a/libs/partners/anthropic/langchain_anthropic/llms.py +++ b/libs/partners/anthropic/langchain_anthropic/llms.py @@ -175,7 +175,7 @@ class AnthropicLLM(LLM, _AnthropicCommon): """Raise warning that this class is deprecated.""" warnings.warn( "This Anthropic LLM is deprecated. " - "Please use `from langchain_community.chat_models import ChatAnthropic` " + "Please use `from langchain_anthropic import ChatAnthropic` " "instead" ) return values