mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-13 18:55:58 +08:00
chore: update llm.py (#5335)
This commit is contained in:
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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user