mirror of
https://github.com/hwchase17/langchain.git
synced 2025-07-03 19:57:51 +00:00
community[patch]: update AnthropicLLM deprecation message (#18869)
**Description:** Update AnthropicLLM deprecation message import path for ChatAnthropic **Issue:** Incorrect import path in deprecation message **Dependencies:** None **Lint and test**: `make format`, `make lint` and `make test` were run
This commit is contained in:
parent
cafffe8a21
commit
8544f748f2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user