anthropic[patch]: model type string (#18510)

This commit is contained in:
Erick Friis
2024-03-04 19:25:19 -08:00
committed by GitHub
parent eb0756f3ee
commit 68c1878380

View File

@@ -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: