diff --git a/libs/partners/anthropic/langchain_anthropic/chat_models.py b/libs/partners/anthropic/langchain_anthropic/chat_models.py index 5e4a16c384fc6..16ad5be7b1bd1 100644 --- a/libs/partners/anthropic/langchain_anthropic/chat_models.py +++ b/libs/partners/anthropic/langchain_anthropic/chat_models.py @@ -177,7 +177,7 @@ class Config: @property def _llm_type(self) -> str: """Return type of chat model.""" - return "chat-anthropic-messages" + return "anthropic-chat" @root_validator(pre=True) def build_extra(cls, values: Dict) -> Dict: