Skip to content

Commit

Permalink
Removed redundant code.
Browse files Browse the repository at this point in the history
  • Loading branch information
3coins committed Feb 1, 2024
1 parent 8a9fe94 commit e965ab7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libs/community/langchain_community/llms/bedrock.py
Original file line number Diff line number Diff line change
Expand Up @@ -368,8 +368,8 @@ def _get_provider(self) -> str:
"Model provider should be supplied when passing a model ARN as "
"model_id"
)
else:
return self.model_id.split(".")[0]

return self.model_id.split(".")[0]

@property
def _model_is_anthropic(self) -> bool:
Expand Down

0 comments on commit e965ab7

Please sign in to comment.