chore: update llm.py (#5335)
This commit is contained in:
parent
d7213b12cc
commit
8266842809
1 changed files with 1 additions and 1 deletions
|
|
@ -99,7 +99,7 @@ class VertexAiLargeLanguageModel(LargeLanguageModel):
|
||||||
credentials.refresh(request)
|
credentials.refresh(request)
|
||||||
token = credentials.token
|
token = credentials.token
|
||||||
|
|
||||||
# Vertex AI Anthropic Claude3 Opus model avaiable in us-east5 region, Sonnet and Haiku avaiable in us-central1 region
|
# Vertex AI Anthropic Claude3 Opus model available in us-east5 region, Sonnet and Haiku available in us-central1 region
|
||||||
if 'opus' in model:
|
if 'opus' in model:
|
||||||
location = 'us-east5'
|
location = 'us-east5'
|
||||||
else:
|
else:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue