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

pull/18483/head^2
Erick Friis 4 months ago committed by GitHub
parent eb0756f3ee
commit 68c1878380
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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

Loading…
Cancel
Save