Skip to content

Commit

Permalink
fix(graphql): specify location to avoid the busy, default us-central1
Browse files Browse the repository at this point in the history
- us-west4 is Oregon, this is where sea cable goes on land
  • Loading branch information
MrOrz committed Feb 6, 2025
1 parent 1736ed1 commit a88e2b7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/graphql/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -1008,6 +1008,7 @@ Your text will be used for indexing these media files, so please follow these ru

const vertexAI = new VertexAI({
project: await new GoogleAuth().getProjectId(),
location: 'us-west1', // Nearest to Taiwan that has Gemini 2.0
});
for (const model of TRANSCRIPT_MODELS) {
try {
Expand Down

0 comments on commit a88e2b7

Please sign in to comment.