Skip to content

Commit

Permalink
anthropic[patch]: model type string (#18510)
Browse files Browse the repository at this point in the history
  • Loading branch information
efriis authored Mar 5, 2024
1 parent eb0756f commit 68c1878
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 68c1878

Please sign in to comment.