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