mirror of
https://github.com/hwchase17/langchain
synced 2024-11-18 09:25:54 +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."""
|
"""Raise warning that this class is deprecated."""
|
||||||
warnings.warn(
|
warnings.warn(
|
||||||
"This Anthropic LLM is deprecated. "
|
"This Anthropic LLM is deprecated. "
|
||||||
"Please use `from langchain_community.chat_models import ChatAnthropic` "
|
"Please use `from langchain_anthropic import ChatAnthropic` "
|
||||||
"instead"
|
"instead"
|
||||||
)
|
)
|
||||||
return values
|
return values
|
||||||
|
Loading…
Reference in New Issue
Block a user