mirror of
https://github.com/hwchase17/langchain.git
synced 2025-08-01 17:13:22 +00:00
anthropic[patch]: model type string (#18510)
This commit is contained in:
parent
eb0756f3ee
commit
68c1878380
@ -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…
Reference in New Issue
Block a user