mirror of
https://github.com/hwchase17/langchain.git
synced 2025-08-07 03:56:39 +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
|
@property
|
||||||
def _llm_type(self) -> str:
|
def _llm_type(self) -> str:
|
||||||
"""Return type of chat model."""
|
"""Return type of chat model."""
|
||||||
return "chat-anthropic-messages"
|
return "anthropic-chat"
|
||||||
|
|
||||||
@root_validator(pre=True)
|
@root_validator(pre=True)
|
||||||
def build_extra(cls, values: Dict) -> Dict:
|
def build_extra(cls, values: Dict) -> Dict:
|
||||||
|
Loading…
Reference in New Issue
Block a user