mirror of
https://github.com/hwchase17/langchain.git
synced 2025-08-01 00:49:25 +00:00
lint: fix linting error
This commit is contained in:
parent
5adec09f2d
commit
bd6223eae3
@ -1280,6 +1280,7 @@ class ChatAnthropic(BaseChatModel):
|
||||
@classmethod
|
||||
def validate_max_tokens(cls, values: dict[str, Any]) -> Any:
|
||||
"""Validate max_tokens.
|
||||
|
||||
Can find the Max Tokens limits here: https://docs.anthropic.com/en/docs/about-claude/models/overview#model-comparison-table
|
||||
"""
|
||||
if values.get("max_tokens") is None and values.get("model"):
|
||||
|
Loading…
Reference in New Issue
Block a user