lint: fix linting error

This commit is contained in:
keenborder786 2025-07-29 05:50:48 +05:00
parent 5adec09f2d
commit bd6223eae3

View File

@ -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"):