From 68c1878380bb72c21509cd1be7d36f101563a8e2 Mon Sep 17 00:00:00 2001 From: Erick Friis Date: Mon, 4 Mar 2024 19:25:19 -0800 Subject: [PATCH] anthropic[patch]: model type string (#18510) --- libs/partners/anthropic/langchain_anthropic/chat_models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/partners/anthropic/langchain_anthropic/chat_models.py b/libs/partners/anthropic/langchain_anthropic/chat_models.py index 5e4a16c384f..16ad5be7b1b 100644 --- a/libs/partners/anthropic/langchain_anthropic/chat_models.py +++ b/libs/partners/anthropic/langchain_anthropic/chat_models.py @@ -177,7 +177,7 @@ class ChatAnthropic(BaseChatModel): @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: