mirror of
http://112.124.100.131/huang.ze/ebiz-dify-ai.git
synced 2025-12-11 20:06:54 +08:00
chore: update llm.py (#5335)
This commit is contained in:
committed by
GitHub
parent
d7213b12cc
commit
8266842809
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user