Skip to content

Commit

Permalink
anthropic[patch]: model type string (langchain-ai#18510)
Browse files Browse the repository at this point in the history
  • Loading branch information
efriis authored and thebhulawat committed Mar 6, 2024
1 parent e1e78a0 commit 337ff3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/partners/anthropic/langchain_anthropic/chat_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ class Config:
@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:
Expand Down

0 comments on commit 337ff3f

Please sign in to comment.