Revert "anthropic: set default model" (#21987)

Reverts langchain-ai/langchain#21986
This commit is contained in:
ccurme
2024-05-21 10:28:32 -07:00
committed by William Fu-Hinthorn
parent f2576ee717
commit d8fad897e3

View File

@@ -259,7 +259,7 @@ class ChatAnthropic(BaseChatModel):
_client: anthropic.Client = Field(default=None)
_async_client: anthropic.AsyncClient = Field(default=None)
model: str = Field(default="claude-3-haiku-20240307", alias="model_name")
model: str = Field(alias="model_name")
"""Model name to use."""
max_tokens: int = Field(default=1024, alias="max_tokens_to_sample")