Browse Source

chore: update llm.py (#5335)

tags/0.6.12
Ikko Eltociear Ashimine 1 year ago
parent
commit
8266842809
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      api/core/model_runtime/model_providers/vertex_ai/llm/llm.py

+ 1
- 1
api/core/model_runtime/model_providers/vertex_ai/llm/llm.py View File

@@ -99,7 +99,7 @@ class VertexAiLargeLanguageModel(LargeLanguageModel):
credentials.refresh(request)
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:
location = 'us-east5'
else:

Loading…
Cancel
Save