Skip to content

Commit

Permalink
Revert "call super"
Browse files Browse the repository at this point in the history
This reverts commit f81d035.
  • Loading branch information
ccurme committed Sep 19, 2024
1 parent f81d035 commit fdbdb02
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions libs/aws/langchain_aws/llms/bedrock.py
Original file line number Diff line number Diff line change
Expand Up @@ -959,8 +959,7 @@ class BedrockLLM(LLM, BedrockBase):
"""

@model_validator(mode="after")
def validate_environment(self) -> Self:
super().validate_environment()
def validate_environment_llm(self) -> Self:
model_id = self.model_id
if model_id.startswith("anthropic.claude-3"):
raise ValueError(
Expand Down

0 comments on commit fdbdb02

Please sign in to comment.