fix: truthy value (#8208)
This commit is contained in:
parent
5f4cdd66fa
commit
342607f4a4
2 changed files with 2 additions and 2 deletions
|
|
@ -115,7 +115,7 @@ class VertexAiLargeLanguageModel(LargeLanguageModel):
|
|||
token = credentials.token
|
||||
|
||||
# Vertex AI Anthropic Claude3 Opus model available in us-east5 region, Sonnet and Haiku available in us-central1 region
|
||||
if "opus" or "claude-3-5-sonnet" in model:
|
||||
if "opus" in model or "claude-3-5-sonnet" in model:
|
||||
location = "us-east5"
|
||||
else:
|
||||
location = "us-central1"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue